force brake add
Dependents: risetarm Encoder Taker_KRAI BacaMotor ... more
Fork of Motor by
Revision 5:1d0887244f8b, committed 2018-07-21
- Comitter:
- calmantara186
- Date:
- Sat Jul 21 14:00:51 2018 +0000
- Parent:
- 4:f1b54a118b5e
- Commit message:
- .
Changed in this revision
Motor.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f1b54a118b5e -r 1d0887244f8b Motor.cpp --- 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