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 5:ae69755726b7, committed 2015-01-13
- Comitter:
- rsidobre
- Date:
- Tue Jan 13 12:19:41 2015 +0000
- Parent:
- 4:91689b8284e2
- Commit message:
- popo
Changed in this revision
| Servo.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Servo.h Fri Jan 09 15:45:53 2015 +0000
+++ b/Servo.h Tue Jan 13 12:19:41 2015 +0000
@@ -81,7 +81,7 @@
* @param range Pulsewidth range from center (1.5ms) to maximum/minimum position in seconds
* @param degrees Angle from centre to maximum/minimum position in degrees
*/
- void calibrate(float range = 0.001, float degrees = 90.0);
+ void calibrate(float range = 0.0005, float degrees = 90.0);
/** Shorthand for the write and read functions */
Servo& operator= (float percent);
