A library to control a CYS S8218 servo

Dependents:   Heiko

Files at this revision

API Documentation at this revision

Comitter:
Generic
Date:
Wed Oct 26 10:39:53 2016 +0000
Parent:
5:062af0d57175
Commit message:
Updated

Changed in this revision

CYS8218Controller.hpp Show annotated file Show diff for this revision Revisions of this file
diff -r 062af0d57175 -r 87b056f6d8ad CYS8218Controller.hpp
--- a/CYS8218Controller.hpp	Mon Oct 10 08:19:18 2016 +0200
+++ b/CYS8218Controller.hpp	Wed Oct 26 10:39:53 2016 +0000
@@ -14,7 +14,7 @@
 public:
   /**
    * @param pwmPin : PWM pin of servo / orange wire
-   * @param initAngle : The angle the servo goes to when object is created
+   * @param initAngle : The angle the servo goes to when object is created, when default value (-1) is used, the servo position is not set on object creation.
    */
   CYS8218Controller(PinName pwmPin, float initAngle = -1);