![](/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.
Revision 27:b25816ce6043, committed 2017-07-03
- Comitter:
- Davidroid
- Date:
- Mon Jul 03 11:53:02 2017 +0000
- Parent:
- 26:caec5f51abe8
- Commit message:
- mbed OS
Changed in this revision
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"
diff -r caec5f51abe8 -r b25816ce6043 mbed-os.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Mon Jul 03 11:53:02 2017 +0000 @@ -0,0 +1,1 @@ +https://github.com/ARMmbed/mbed-os/#c9e63f14085f5751ff5ead79a7c0382d50a813a2
diff -r caec5f51abe8 -r b25816ce6043 mbed.bld --- a/mbed.bld Mon Mar 13 17:53:12 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/e1686b8d5b90 \ No newline at end of file