0611

Dependencies:   mbed

Fork of BLE_WallbotBLE_Challenge2 by Maiko Matsumoto

Revision:
3:f707552ec50a
Parent:
2:3c406d25860e
--- a/TB6612FNG/TB6612.cpp	Fri Feb 20 00:07:48 2015 +0000
+++ b/TB6612FNG/TB6612.cpp	Sun Jun 03 07:04:34 2018 +0000
@@ -47,7 +47,7 @@
     
     if( speed > 0.0 )
     {
-        if( speed > 0.7)    speed = 0.7;
+        //if( speed > 0.7)    speed = 1.0;
         _pwm = speed;
         _fwd = 1;
         _rev = 0;
@@ -55,7 +55,7 @@
     }
     else if( speed < 0.0 )
     {
-        if( speed < -0.7)    speed = -0.7;
+        //if( speed < -0.7)    speed = -1.0;
         _pwm = -speed;
         _fwd = 0;
         _rev = 1;