|
SRA Board Components
ESP-IDF component for SRA Board
|

Functions | |
| esp_err_t | enable_motor_driver (motor_handle_t *motor, int motor_id) |
| Enable motor driver. More... | |
| esp_err_t | set_motor_speed (motor_handle_t motor, int direction, float speed) |
| int | get_motor_driver_status () |
| Checks if the motor driver is engaged. More... | |
| esp_err_t enable_motor_driver | ( | motor_handle_t * | motor, |
| int | motor_id | ||
| ) |
Enable motor driver.
| motor_handle_t | Motor object handle |
| motor_id | set it as MOTOR_A_0, MOTOR_A_1 to select the appropriate motor to bind to the handle. |
| int get_motor_driver_status | ( | ) |
Checks if the motor driver is engaged.
| esp_err_t set_motor_speed | ( | motor_handle_t | motor, |
| int | direction, | ||
| float | speed | ||
| ) |