A simple library for driving RC servos without using the mbed's PWM functions. This allows the mbed to drive as many servos as there are DigitalOut pins, and additionally allows for the PWM functions to be used at a different frequency than the 50Hz used for servos.
Revisions of Servo.cpp
Revision | Date | Message | Actions |
---|---|---|---|
13:896410a1b594 | 2013-01-09 | Changed +/-60 degree calibration parameter to +/- 45 | File Diff Annotate |
12:92dc63d24bf8 | 2012-11-03 | Fixed GCC warning | File Diff Annotate |
10:f0df63e99a96 | 2012-10-21 | Servo angles can be inverted | File Diff Annotate |
9:6bfea9af4dcb | 2012-10-21 | Added setting angles by degrees, calibration, and angle limits. | File Diff Annotate |
8:131785ed96fb | 2012-10-03 | Stopped PWM when pulseWidth is 0 | File Diff Annotate |
7:ff85ac12e11b | 2012-08-30 | Fixed to allow for servos to be created with global scope. | File Diff Annotate |
6:6af888a91e23 | 2012-08-03 | Merged with branch | File Diff Annotate |
5:94cdc85bf1ae | 2012-08-03 | Fixed servo library to make it use a ticker for the servo refresh | File Diff Annotate |
4:373219702af9 | 2012-08-02 | Updated servo.cpp | File Diff Annotate |
2:19f995979c6a | 2012-08-01 | Copied from PWMTest | File Diff Annotate |