Programming MakeBlock Orion in Arduino IDE


#1

Hello,

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;

  1. Line following - forever loop, for a set amount of time and loop until near object or touch a wall
  2. Light sensor - move until dark
  3. 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.
    Thanks
    Dereck Dirom