DC Motor 15 Click Example.
Description
This example demonstrates the use of DC Motor 15 click board.
The demo application is composed of two sections :
Application Init
Initializes the driver and makes an initial log.
Application Task
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. It will also calculates and displays the motor current consumption. Each step will be logged on the USB UART where you can track the program flow.
- Author
- Stefan Filipovic