A class to control a model R/C servo, using a PwmOut

Fork of Servo by Simon Ford

Revision:
4:1d4b7e891f79
Parent:
3:36b69a7ced07
diff -r 36b69a7ced07 -r 1d4b7e891f79 Servo.h
--- a/Servo.h	Thu Sep 02 17:34:43 2010 +0000
+++ b/Servo.h	Mon Mar 21 12:09:32 2016 +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 = 60.0); 
         
     /**  Shorthand for the write and read functions */
     Servo& operator= (float percent);