Pulse Width Modulation RC Servomotor Library compatible with classic and extended models. Models limit are customizable

Dependents:   FRC_2018 0hackton_08_06_18 0hackton_08_06_18_publish Kenya_2019 ... more

Revision:
5:9b1e318db5f1
Parent:
4:c21c2e0d926f
Child:
6:cf65fc8b0de1
--- a/RC_Servo.h	Wed May 23 15:08:45 2018 +0000
+++ b/RC_Servo.h	Thu May 31 17:26:54 2018 +0000
@@ -53,13 +53,13 @@
     /**
      * Constructor of a RC Servo (analog).
      *
-     * @param PWM is the Mbed pin used to generate the PWM signal
-     * @param _extended (= 0) if set modified the fonctioning limits
+     * @param PWM (PinName) : is the Mbed pin used to generate the PWM signal
+     * @param _extended (int, = 0) : if set let servo use modified pulsewidth limits
      */
     RC_Servo(PinName PWM, int _extended = 0);
 
     /**
-     * Set the min and max time associeted with both extreme position
+     * Set the min and max pulsewidth time associated with both extreme position
      *
      * @param Tmin : pulsewidth (in us) associated with Min position (must be more than 400)
      * @param Tmax : pulsewidth (in us) associated with Max position (must be less than 2400)