mirror of
https://github.com/eclipse/upm.git
synced 2025-03-14 20:47:30 +03:00
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:
parent
f77863dfb5
commit
a0ea3d5f3d
@ -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.
|
||||
*/
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user