dcmotor21 2.0.0.0
|
DC Motor 21 Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
DC Motor 21 Click Example.
This example demonstrates the use of DC Motor 21 click board.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
In the span of six seconds, it drives the motor in one direction, then switches the direction, and after that disconnects the motor. 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 | ) |