|
SRA Board Components
ESP-IDF component for SRA Board
|
This structure contains the configuration of servos. More...
#include <servo.h>
Public Attributes | |
| int | servo_pin |
| int | min_pulse_width |
| int | max_pulse_width |
| int | max_degree |
| int | angle |
| mcpwm_unit_t | mcpwm_num |
| mcpwm_timer_t | timer_num |
| mcpwm_generator_t | gen |
This structure contains the configuration of servos.
| int servo_config::angle |
| servo_config::gen |
Member 'gen' contains MCPWM operator to use
| servo_config::max_degree |
Member 'max_degree' contains the maximum degree servo motor can rotate
| servo_config::max_pulse_width |
Member 'max_pulse_width' contains the maximum pulse width of servo motor
| servo_config::mcpwm_num |
Member 'mcpwm_num' contains MCPWM unit to use
| servo_config::min_pulse_width |
Member 'min_pulse_width' contains the minimum pulse width of servo motor
| servo_config::servo_pin |
Member 'servo_pin' contains the gpio pin number to which servo is connected
| servo_config::timer_num |
Member 'timer_num' contains MCPWM timer to use