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.
Diff: Servo.h
- Revision:
- 4:25e16f3ef91a
- Parent:
- 3:36b69a7ced07
diff -r 36b69a7ced07 -r 25e16f3ef91a Servo.h --- a/Servo.h Thu Sep 02 17:34:43 2010 +0000 +++ b/Servo.h Thu Apr 02 13:48:07 2020 +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.0005, float degrees = 45.0); + void calibrate(float range = 0.0005, float degrees = 45); /** Shorthand for the write and read functions */ Servo& operator= (float percent);