The complete Arduino Sketch for DFRobot Romeo motors, servo, LEDs, sound, and obstacle sensors

The beauty about DFRobot Romeo V2 is its completeness.

The code exposes the board’s capabilities to:

  1. Travel (forward, reverse, left, right, forward left, forward right, reverse left, reverse left)
  2. Blink LEDs
  3. ‘Sing’ songs through buzzer
  4. Detect obstacles and respond to it
  5. Tilt web cam servo
  6. Response to buttons and
  7. Read serial command messages

Download the source code from here: rasinro and copy it into your Arduino IDE, or from this article.

(Visited 1,658 times, 1 visits today)