ds3218

Dependencies:   SoftPWM

Dependents:   NHK2021_ikarashiSV_code_withservo 2021NHK_B_syudo 2021NHK_B_main

Files at this revision

API Documentation at this revision

Comitter:
ikarashikota
Date:
Mon Oct 18 14:19:48 2021 +0000
Parent:
5:ef8f4fe45587
Commit message:
:-)

Changed in this revision

Servo.h Show annotated file Show diff for this revision Revisions of this file
SoftPWM.lib Show annotated file Show diff for this revision Revisions of this file
--- 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);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SoftPWM.lib	Mon Oct 18 14:19:48 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/komaida424/code/SoftPWM/#7918ce37626c