Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Fa2018-es200-1121-3321-thread-example Fa2018-es200-1121-3321-thread-example-peanut Fa2018-es200-1121-3321-thread-example-herndon Fa2018-es200-1121-3321-thread-example-rockem
Fork of Motor by
Revision 3:2fb29b1f7d1c, committed 2018-10-14
- Comitter:
- evangeli
- Date:
- Sun Oct 14 21:53:55 2018 +0000
- Parent:
- 2:f265e441bcd9
- Commit message:
- Changed line 31 of motor.cpp for ES200/202 mod when using both Motor.h and Servo.h
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 Sun Oct 14 21:53:55 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
