hbridge7 2.0.0.0
|
H-BRIDGE 7 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
H-BRIDGE 7 Click example.
This example demonstrates the use of H-Bridge 7 click board.
The demo application is composed of two sections :
Initializes the driver and makes an initial log.
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 finally, disconnects the motor for 2 seconds. Each step will be logged on the USB UART where you can track the program flow.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |