keisuke Yoshida
/
BLE_WallbotBLE_Challenge_byYUTAKA
under constructiong
Fork of BLE_WallbotBLE_Challenge by
Diff: TB6612FNG/TB6612.cpp
- Revision:
- 3:f707552ec50a
- Parent:
- 2:3c406d25860e
diff -r 3c406d25860e -r f707552ec50a TB6612FNG/TB6612.cpp --- 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;