10 #define TWR_SERVO_NO_ANGLE 255
11 #define TWR_SERVO_UNKNOWN_ANGLE 250
12 #define TWR_SERVO_DEFAULT_MIN 544
13 #define TWR_SERVO_DEFAULT_MAX 2400
twr_pwm_channel_t
PWM channels.
void twr_servo_set_angle(twr_servo_t *self, uint8_t angle)
Set angle.
void twr_servo_set_microseconds(twr_servo_t *self, uint16_t us)
Set Microseconds.
void twr_servo_set_pulse_limits(twr_servo_t *self, uint16_t min_us, uint16_t max_us)
Set pulse limits.
void twr_servo_init(twr_servo_t *self, twr_pwm_channel_t channel)
Initialize Servo.
uint8_t twr_servo_get_angle(twr_servo_t *self)
Get angle.