A library to control a CYS S8218 servo
Revision 4:c43d375a84a9, committed 2016-09-27
- Comitter:
- Generic
- Date:
- Tue Sep 27 19:55:10 2016 +0000
- Parent:
- 3:b0a7d93e2611
- Child:
- 5:062af0d57175
- Commit message:
- Set to not move on default;
Changed in this revision
CYS8218Controller.hpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/CYS8218Controller.hpp Fri Sep 23 01:13:40 2016 +0000 +++ b/CYS8218Controller.hpp Tue Sep 27 19:55:10 2016 +0000 @@ -16,7 +16,7 @@ * @param pwmPin : PWM pin of servo / orange wire * @param initAngle : The angle the servo goes to when object is created */ - CYS8218Controller(PinName pwmPin, float initAngle = 0.0f); + CYS8218Controller(PinName pwmPin, float initAngle = -1); /** * Saves the current position as the zero position.