brushless12 2.0.0.0
|
Brushless 12 Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Brushless 12 Click Example.
This example demonstrates the use of Brushless 12 click board.
The demo application is composed of two sections :
Initializes the driver and sets the click default configuration.
Drives the motor in the forward direction for 5 seconds, then pulls brake for 2 seconds, and after that drives it in the reverse direction for 5 seconds, and pulls brake for 2 seconds. Each step will be logged on the USB UART where you can track the program flow.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |