cansat microservo

Fork of Servo by Simon Ford

Files at this revision

API Documentation at this revision

Comitter:
Hagrass
Date:
Wed Sep 09 16:43:35 2015 +0000
Parent:
3:36b69a7ced07
Commit message:
cansat;

Changed in this revision

Servo.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Servo.cpp	Thu Sep 02 17:34:43 2010 +0000
+++ b/Servo.cpp	Wed Sep 09 16:43:35 2015 +0000
@@ -35,7 +35,7 @@
 }
 
 Servo::Servo(PinName pin) : _pwm(pin) {
-    calibrate();
+    calibrate(0.0012,60);
     write(0.5);
 }