Simple program featuring a few API functions usage of the X_NUCLEO_IHM04A1 library.

Dependencies:   X_NUCLEO_IHM04A1 mbed

Dependents:   SimplePIDBot

Fork of HelloWorld_IHM04A1 by ST Expansion SW Team

Auto generated API documentation and code listings for HelloWorld_IHM04A1

Code

main.cpp [code] This example shows how to use 1 IHM04A1 expansion board with 4 unidirectionnal Brush DC motors. Each motor has one lead connected to one of the bridge output, the other lead to the ground. The input bridges are not parallelised. The demo sequence starts when the user button is pressed. Each time, the user button is pressed, one new motor is activated