![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
V1 of the ParallaxRobotShield library
Dependencies: ParallaxRobotShield-V1 mbed
main.cpp
- Committer:
- omarrasheedk
- Date:
- 2015-08-20
- Revision:
- 0:c2377e4b3931
File content as of revision 0:c2377e4b3931:
#include "mbed.h" #include "ParallaxRobotShield.h" int main() { DigitalOut myled(PC_7); ParallaxRobotShield Servo; Servo.enable_right_motor(); Servo.enable_left_motor(); // Commands Servo.right(100); Servo.right(100); Servo.forward(100); Servo.left(100); Servo.left(100); Servo.forward(100); myled = !myled; return 1; }