A class to control a model R/C servo, using a PwmOut sdfasdfasdfasdfasdfasdfasdfasdf
Dependents: projecto0003030020 AMAZING_PONG_MACHINE
Fork of Servo by
Revision 4:70ef15f5712c, committed 2014-10-20
- Comitter:
- KyleSchaff
- Date:
- Mon Oct 20 19:24:16 2014 +0000
- Parent:
- 3:36b69a7ced07
- Commit message:
- cfghafsdfasdfasdfasdfasdfas34tq34tasdf324rasd
Changed in this revision
Servo.h | 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 Mon Oct 20 19:24:16 2014 +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.0009, float degrees = 90.0); /** Shorthand for the write and read functions */ Servo& operator= (float percent);