Door Cycler - Motor Drive
Fork of Motor by
Revision 3:c22b9667c98d, committed 2014-02-12
- Comitter:
- joliu
- Date:
- Wed Feb 12 23:45:59 2014 +0000
- Parent:
- 2:f265e441bcd9
- Commit message:
- Prototype configuration for door cycling demonstration
Changed in this revision
Motor.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f265e441bcd9 -r c22b9667c98d Motor.cpp --- a/Motor.cpp Tue Nov 23 16:16:43 2010 +0000 +++ b/Motor.cpp Wed Feb 12 23:45:59 2014 +0000 @@ -28,7 +28,7 @@ _pwm(pwm), _fwd(fwd), _rev(rev) { // Set initial condition of PWM - _pwm.period(0.001); + _pwm.period(0.00005); _pwm = 0; // Initial condition of output enables