Servo library used for car front wheels

Dependents:   SemiAutoCar

Fork of Servo by Simon Ford

Files at this revision

API Documentation at this revision

Comitter:
charlie316
Date:
Thu Mar 30 17:46:51 2017 +0000
Parent:
3:36b69a7ced07
Commit message:
servo

Changed in this revision

Servo.h Show annotated file Show diff for this revision Revisions of this file
diff -r 36b69a7ced07 -r 0d321bae8d78 Servo.h
--- a/Servo.h	Thu Sep 02 17:34:43 2010 +0000
+++ b/Servo.h	Thu Mar 30 17:46:51 2017 +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 = 180.0); 
         
     /**  Shorthand for the write and read functions */
     Servo& operator= (float percent);