From a0ea3d5f3d4af17b03db053820da8c2a77927121 Mon Sep 17 00:00:00 2001 From: Mihai Tudor Panu Date: Mon, 10 Apr 2017 19:01:46 -0700 Subject: [PATCH] es9257: updated min/max pulse values for C driver Signed-off-by: Mihai Tudor Panu --- src/servo/es9257.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/servo/es9257.h b/src/servo/es9257.h index 57e5e078..4a1ec522 100644 --- a/src/servo/es9257.h +++ b/src/servo/es9257.h @@ -33,8 +33,8 @@ #include "upm.h" #include "mraa/pwm.h" -#define ES9257_MIN_PULSE_WIDTH 600 -#define ES9257_MAX_PULSE_WIDTH 2200 +#define ES9257_MIN_PULSE_WIDTH 475 +#define ES9257_MAX_PULSE_WIDTH 2100 #define ES9257_PERIOD 20000 #define ES9257_MAX_ANGLE 180.0 @@ -62,9 +62,6 @@ typedef struct _es9257_context { * @param pin Servo pin number * @param minPulseWidth Minimum pulse width, in microseconds * @param maxPulseWidth Maximum pulse width, in microseconds - * @param waitAndDisablePwm If 1, PWM is enabled only during the - * setAngle() execution for a period of 1 second, and then turned back - * off. If 0, PWM remains on afterward. */