KRAI 2017 / Joystick_OrdoV5

Fork of Joystic_OrdoV3 by KRAI 2017

Files at this revision

API Documentation at this revision

Comitter:
franshendri
Date:
Tue Nov 29 15:13:03 2016 +0000
Parent:
4:5fe5dc9b8010
Commit message:
Mapping pn udah cukup baik, motor bawah udah kenceng, servo jos

Changed in this revision

Servo.h Show annotated file Show diff for this revision Revisions of this file
--- a/Servo.h	Sun Nov 27 09:36:47 2016 +0000
+++ b/Servo.h	Tue Nov 29 15:13:03 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.001, float degrees = 90.0); 
+    void calibrate(float range = 0.00093, float degrees = 45.0); 
         
     /**  Shorthand for the write and read functions */
     Servo& operator= (float percent);