To change the default calibration to have a 180 degree for SWG90
Dependents: Chumbaka_backup chumbaka
Fork of Servo by
Diff: Servo.h
- Revision:
- 4:17d4a46f3f54
- Parent:
- 3:36b69a7ced07
--- a/Servo.h Thu Sep 02 17:34:43 2010 +0000 +++ b/Servo.h Wed Mar 19 10:10:56 2014 +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.00095, float degrees = 90.0); /** Shorthand for the write and read functions */ Servo& operator= (float percent);