Servo struct for SG90 servo motor. More...
#include <servo.h>
Data Fields | |
mcpwm_timer_t | timerNum |
mcpwm_unit_t | pwmUnit |
mcpwm_io_signals_t | signal |
gpio_num_t | gpio |
int | angle |
Servo struct for SG90 servo motor.
This is a custom data structure for the SG90 motor
int Servo::angle |
servo motor
gpio_num_t Servo::gpio |
pwm gpio pin
mcpwm_unit_t Servo::pwmUnit |
pwm unit
mcpwm_io_signals_t Servo::signal |
pwm signal
mcpwm_timer_t Servo::timerNum |
timer selection