Simple test application for the STMicroelectronics X-NUCLEO-IHM01A1 Stepper Motor Control Expansion Board, built against mbed OS.
Dependencies: X_NUCLEO_IHM01A1
Fork of HelloWorld_IHM01A1 by
This application provides a simple example of usage of the X-NUCLEO-IHM01A1 Stepper Motor Control Expansion Board. It shows how to use one stepper motor connected to the board, moving the rotor to a specific position, with a given speed value, direction of rotation, etc.
Diff: main.cpp
- Revision:
- 38:ca71d404823c
- Parent:
- 35:2b44ed4ec7a0
--- a/main.cpp Mon Mar 13 17:46:46 2017 +0000 +++ b/main.cpp Mon Jul 03 11:54:28 2017 +0000 @@ -41,6 +41,7 @@ /* mbed specific header files. */ #include "mbed.h" +#include "rtos.h" /* Helper header files. */ #include "DevSPI.h"