A class to control a model R/C servo, using a PwmOut
Dependents: Brute_TS_Controller_2018_11
Diff: Servo.cpp
- Revision:
- 5:c7143247a1e7
- Parent:
- 2:8995c167f399
- Child:
- 6:917d115add54
--- a/Servo.cpp Thu Sep 02 17:34:43 2010 +0000 +++ b/Servo.cpp Wed May 09 15:42:15 2018 +0000 @@ -36,7 +36,7 @@ Servo::Servo(PinName pin) : _pwm(pin) { calibrate(); - write(0.5); +// write(0.5); } void Servo::write(float percent) {