A class to control a model R/C servo, using a PwmOut. can to output from any pin.
Fork of Servo by
Diff: Servo.cpp
- Revision:
- 4:bc31309c2cf5
- Parent:
- 2:8995c167f399
--- a/Servo.cpp Thu Sep 02 17:34:43 2010 +0000 +++ b/Servo.cpp Thu Sep 17 09:06:58 2015 +0000 @@ -23,7 +23,7 @@ #include "Servo.h" #include "mbed.h" - +#include "SoftPWM.h" static float clamp(float value, float min, float max) { if(value < min) { return min;