dcmotor17 2.0.0.0
|
DC Motor 17 Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
DC Motor 17 Click Example.
The library covers all the necessary functions to control DC Motor 17 Click board. Library performs a standard GPIO interface communication. DC Motor 17 Click board is a dual H Bridge driver IC for one or two DC brushed motors which incorporates DMOS with low on-resistance in output transistors.
The demo application is composed of two sections :
Initializes GPIO driver, set default configuration and start to write log.
This is an example that demonstrates the use of the DC Motor 17 click board. This example demonstrates the use of DC Motor 17 click, we first control motion A by driving it forward motion for 5 seconds, than applying short brakes it for 2 second, then driving it in reverse for 5 seconds and stop the motor for 2 seconds. In the second part of the example, we control motion B by the same principle. Results are being sent to the Usart Terminal where you can track their changes.
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 | ) |