HBridge3 Click example.
Description
H-bridge in general, allows the current to flow in one or another direction. This click is used for driving a H-Bridge motor by changing output states. The outputs can be pulse width modulated at frequencies up to 20kHz by means of PWM/DIR control.
The demo application is composed of two sections :
Application Init
Initializes SPI and LOG modules, AN, RST, CS and PWM pins
Application Task
This example demonstrates the use of H-Bridge 3 Click board, by running dc motor in both directions - increasing and decreasing PWM duty cycle.
Additional Functions :
- Author
- MikroE Team