as;dlkfjas;ldkfja
Fork of Motor by
Revision 3:57bc1bb9248a, committed 2018-10-16
- Comitter:
- ewingswim
- Date:
- Tue Oct 16 13:44:58 2018 +0000
- Parent:
- 2:f265e441bcd9
- Commit message:
- Only jesus can save us now;
Changed in this revision
Motor.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Motor.cpp Tue Nov 23 16:16:43 2010 +0000 +++ b/Motor.cpp Tue Oct 16 13:44:58 2018 +0000 @@ -28,7 +28,7 @@ _pwm(pwm), _fwd(fwd), _rev(rev) { // Set initial condition of PWM - _pwm.period(0.001); + _pwm.period_us(50); _pwm = 0; // Initial condition of output enables