V1 of the ParallaxRobotShield library

Dependencies:   ParallaxRobotShield-V1 mbed

Files at this revision

API Documentation at this revision

Comitter:
omarrasheedk
Date:
Thu Aug 20 21:52:18 2015 +0000
Commit message:
V1 of the ParallaxRobotShield library

Changed in this revision

ParallaxRobotShield.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /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