A library to control a CYS S8218 servo
Diff: CYS8218Controller.hpp
- Revision:
- 4:c43d375a84a9
- Parent:
- 2:695c74c6d483
- Child:
- 5:062af0d57175
--- 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.