Add Force Brake
Diff: Motor.cpp
- Revision:
- 5:1d0887244f8b
- Parent:
- 4:f1b54a118b5e
--- a/Motor.cpp Tue May 29 11:17:59 2018 +0000 +++ b/Motor.cpp Sat Jul 21 14:00:51 2018 +0000 @@ -26,7 +26,7 @@ _pwm(pwm), _fwd(fwd), _rev(rev) { // Set initial condition of PWM - _pwm.period(0.001); + _pwm.period(0.002); _pwm = 0; // Initial condition of output enables