motor

Dependencies:   VNH5019 mbed

Revision:
2:b7676b0b020e
Parent:
1:6ad72ace0fec
--- a/main.cpp	Tue Jul 19 03:51:28 2016 +0000
+++ b/main.cpp	Fri Jul 22 07:08:05 2016 +0000
@@ -30,13 +30,13 @@
         // left
         if(c == 'l'){
             xbee.printf("l\n");
-            motorShield.changeSpeed(0, 64, 1, 64);
+            motorShield.changeSpeed(1, 32, 1, 64);
         }
         
         // right
         if(c == 'r') {
             xbee.printf("r\n");
-            motorShield.changeSpeed(1, 64, 0, 64);
+            motorShield.changeSpeed(1, 64, 1, 32);
         }
 
         // stop