A library to control a CYS S8218 servo

Dependents:   Heiko

Revision:
2:695c74c6d483
Parent:
1:c42f4b73e85c
Child:
4:c43d375a84a9
--- a/CYS8218Controller.hpp	Wed Sep 07 03:07:07 2016 +0200
+++ b/CYS8218Controller.hpp	Fri Sep 23 03:01:18 2016 +0200
@@ -24,6 +24,13 @@
   void SaveZero();
 
   /**
+   * Sets the zero position without moving the servo
+   *
+   * @param angle : The angle to set as the zero position
+   */
+  void SetZero(float angle);
+
+  /**
    * Calibrate the servo
    * @param actualAngle : The actual angle from zero, of the current position in degrees.
    */