I am working with the older Orion board from the MakeBlock Ultimate kit. I am trying to learn how to program it using Arduino IDE. I can install the libraries properly and run the test programs but I am looking for sample code for the following;
- Line following - forever loop, for a set amount of time and loop until near object or touch a wall
- Light sensor - move until dark
- Ultrasonic sensor - forever loop, for a set amount of time and loop until near object or touch a wall
4… Contact sensor with limit switch - move forward until the robot touches a wall
Can anyone assist? I would help me out a lot.