dcmotor11 2.0.0.0
|
DcMotor11 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint8_t | motor_speed |
uint8_t | motor_dir |
uint8_t | f_motor_state = 1 |
DcMotor11 Click example.
This application is motor driver with the current limiting and current sensing.
The demo application is composed of two sections :
Initialization driver init and sets first motor settings.
Waits for valid user input and executes functions based on set of valid commands.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint8_t f_motor_state = 1 |
uint8_t motor_dir |
uint8_t motor_speed |