![](/media/cache/group/ST_logo_2020_blue_V_cmyk.jpg.50x50_q85.jpg)
Simple test application for the STMicroelectronics X-NUCLEO-IHM02A1 Stepper Motor Control Expansion Board, built against mbed OS.
Dependencies: X_NUCLEO_IHM02A1
Fork of HelloWorld_IHM02A1 by
Motor Control with the X-NUCLEO-IHM02A1 Expansion Board
This application provides a simple example of usage of the X-NUCLEO-IHM02A1 Stepper Motor Control Expansion Board.
It shows how to use two stepper motors connected in daisy chain configuration to the board, moving the rotors to specific positions, with given speed values, direction of rotations, etc.
Diff: main.cpp
- Revision:
- 27:b25816ce6043
- Parent:
- 26:caec5f51abe8
diff -r caec5f51abe8 -r b25816ce6043 main.cpp --- a/main.cpp Mon Mar 13 17:53:12 2017 +0000 +++ b/main.cpp Mon Jul 03 11:53:02 2017 +0000 @@ -41,6 +41,7 @@ /* mbed specific header files. */ #include "mbed.h" +#include "rtos.h" /* Helper header files. */ #include "DevSPI.h"