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.
Fork of Servo by
Revision 4:d66a8456658a, committed 2016-04-22
- Comitter:
- vsutardja
- Date:
- Fri Apr 22 19:36:24 2016 +0000
- Parent:
- 3:36b69a7ced07
- Commit message:
- Increased frequency
Changed in this revision
Servo.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 36b69a7ced07 -r d66a8456658a Servo.cpp --- a/Servo.cpp Thu Sep 02 17:34:43 2010 +0000 +++ b/Servo.cpp Fri Apr 22 19:36:24 2016 +0000 @@ -36,6 +36,7 @@ Servo::Servo(PinName pin) : _pwm(pin) { calibrate(); + _pwm.period_ms(10); write(0.5); }