hbridge11 2.1.0.0
|
H-Bridge 11 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
H-Bridge 11 Click example.
This example demonstrates the use of the H-Bridge 11 click board by driving the DC motors connected between OUT0-OUT1 and OUT2-OUT3 in both directions.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Drives the motors connected between OUT0-OUT1 and OUT2-OUT3 in both directions in the span of 12 seconds, and logs data 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 | ) |