ds3218

Dependencies:   SoftPWM

Dependents:   NHK2021_ikarashiSV_code_withservo 2021NHK_B_syudo 2021NHK_B_main

Revision:
6:39d683a34a55
Parent:
4:9cc96122f399
--- a/Servo.h	Fri Nov 06 11:23:22 2020 +0000
+++ b/Servo.h	Mon Oct 18 14:19:48 2021 +0000
@@ -82,7 +82,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.00152, float degrees = 45.0); 
         
     /**  Shorthand for the write and read functions */
     Servo& operator= (float percent);