code that works.; needs comments added to it.
Dependents: lab3integrated lab3integrated
Fork of Motor by
Revision 3:f8f70090a6e8, committed 2018-09-27
- Comitter:
- tmaly45
- Date:
- Thu Sep 27 19:44:16 2018 +0000
- Parent:
- 2:f265e441bcd9
- Commit message:
- needs commenting;
Changed in this revision
Motor.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f265e441bcd9 -r f8f70090a6e8 Motor.cpp --- a/Motor.cpp Tue Nov 23 16:16:43 2010 +0000 +++ b/Motor.cpp Thu Sep 27 19:44:16 2018 +0000 @@ -28,7 +28,7 @@ _pwm(pwm), _fwd(fwd), _rev(rev) { // Set initial condition of PWM - _pwm.period(0.001); + _pwm.period(0.02); _pwm = 0; // Initial condition of output enables