QQQQQQQ

Dependencies:   mbed

Fork of 7_7Boboobooo by 譯文 張

Revision:
9:c318ee86d6e9
Parent:
0:68c173249c01
--- a/motor_api.cpp	Tue Jul 08 04:36:09 2014 +0000
+++ b/motor_api.cpp	Wed Jul 09 07:34:23 2014 +0000
@@ -64,11 +64,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;  
          }
            
@@ -79,11 +79,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;  
          }