35#define MOTOR_FORWARD 200
36#define MOTOR_BACKWARD 201
39#define MCPWM_FREQ 20000
40#define MCPWM_RESOLUTION 10000000
int get_motor_driver_status()
Checks if the motor driver is engaged.
Definition: motor_driver.c:76
esp_err_t enable_motor_driver(motor_handle_t *motor, int motor_id)
Enable motor driver.
Definition: motor_driver.c:33
esp_err_t set_motor_speed(motor_handle_t motor, int direction, float duty_cycle)
Definition: motor_driver.c:56
Definition: mcpwm_interface.h:38