cansat microservo
Fork of Servo by
Revision 4:0789028dbbc3, committed 2015-09-09
- 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 |
diff -r 36b69a7ced07 -r 0789028dbbc3 Servo.cpp --- 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); }