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:b0b0b7065d62, committed 2018-04-05
- Comitter:
- sophia
- Date:
- Thu Apr 05 06:37:21 2018 +0000
- Parent:
- 3:36b69a7ced07
- Commit message:
- The library "Servo" is used for our Diploma thesis in school.
Changed in this revision
| Servo.h | Show annotated file Show diff for this revision Revisions of this file |
| Servo.lib | Show annotated file Show diff for this revision Revisions of this file |
--- a/Servo.h Thu Sep 02 17:34:43 2010 +0000
+++ b/Servo.h Thu Apr 05 06:37:21 2018 +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.001, float degrees = 90.0);
/** Shorthand for the write and read functions */
Servo& operator= (float percent);
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Servo.lib Thu Apr 05 06:37:21 2018 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/simon/code/Servo/#36b69a7ced07
