es9257: updated min/max pulse values for C driver

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu 2017-04-10 19:01:46 -07:00
parent f77863dfb5
commit a0ea3d5f3d

View File

@ -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.
*/