![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
V1 of the ParallaxRobotShield library
Dependencies: ParallaxRobotShield-V1 mbed
Revision 0:c2377e4b3931, committed 2015-08-20
- Comitter:
- omarrasheedk
- Date:
- Thu Aug 20 21:52:18 2015 +0000
- Commit message:
- V1 of the ParallaxRobotShield library
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ParallaxRobotShield.lib Thu Aug 20 21:52:18 2015 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/teams/ARSLab/code/ParallaxRobotShield-V1/#2ab9f4a3187a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Aug 20 21:52:18 2015 +0000 @@ -0,0 +1,24 @@ +#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; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Aug 20 21:52:18 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/cbbeb26dbd92 \ No newline at end of file