Library for the Shield Bot by SeeedStudio

Revision:
2:118efce95f3c
Parent:
1:5c40f2a5e1ac
Child:
3:ccd47cdacb7b
--- a/SeeedStudioShieldBot.h	Mon Jul 15 13:38:07 2013 +0000
+++ b/SeeedStudioShieldBot.h	Mon Jul 15 13:47:09 2013 +0000
@@ -6,6 +6,8 @@
         // Create a shield bot object, using default settings for now...
         SeeedStudioShieldBot();
         
+        /** Switch on the left motor at the given speed.
+        */
         void left_motor(float speed);
         void right_motor(float speed);
         
@@ -18,13 +20,14 @@
         void left(float speed);
         void right(float speed);
 
-        void disable_motor_a();
-        void disable_motor_b();
+        void disable_left_motor();
+        void disable_right_motor();
         
-        void enable_motor_a();
-        void enable_motor_b();
+        void enable_left_motor();
+        void enable_right_motor();
         
         void stopAll();
+        void stop(int motor);
         
         // Need to do something to do with detected line...