shared

Dependencies:   mbed-rtos mbed

Fork of Boboobooo by kao yi

Revision:
8:089b778962c4
Parent:
7:fe8665daf3e7
--- a/motor_api.cpp	Mon Jul 07 06:52:03 2014 +0000
+++ b/motor_api.cpp	Fri Oct 31 10:54:51 2014 +0000
@@ -60,11 +60,11 @@
          
          case 'A':
               *forward_A=level;
-              *backward_A=0;
+              *backward_A=0.1;
          break;
          case 'B':
               *forward_B=level;
-              *backward_B=0;
+              *backward_B=0.1;
          break;  
          }
            
@@ -75,11 +75,11 @@
          switch(Type){
          
          case 'A':
-             *forward_A=0;
+             *forward_A=0.1;
               *backward_A=level;
          break;
          case 'B':
-            *forward_B=0;
+            *forward_B=0.1;
               *backward_B=level;
          break;  
          }