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 ST

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.

Files at this revision

API Documentation at this revision

Comitter:
Davidroid
Date:
Mon Jul 03 11:54:28 2017 +0000
Parent:
37:70d96b1ecb98
Commit message:
mbed OS

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
diff -r 70d96b1ecb98 -r ca71d404823c main.cpp
--- 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"
diff -r 70d96b1ecb98 -r ca71d404823c mbed-os.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-os.lib	Mon Jul 03 11:54:28 2017 +0000
@@ -0,0 +1,1 @@
+https://github.com/ARMmbed/mbed-os/#c9e63f14085f5751ff5ead79a7c0382d50a813a2
diff -r 70d96b1ecb98 -r ca71d404823c mbed.bld
--- a/mbed.bld	Mon Mar 13 17:46:46 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