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:
Tue Feb 09 10:54:12 2016 +0000
Parent:
22:3b691e5ca15e
Child:
24:da8e9fc2b66e
Commit message:
+ Updated with the new version of the library.

Changed in this revision

X_NUCLEO_IHM01A1.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/X_NUCLEO_IHM01A1.lib	Tue Jan 19 15:58:22 2016 +0000
+++ b/X_NUCLEO_IHM01A1.lib	Tue Feb 09 10:54:12 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/ST/code/X_NUCLEO_IHM01A1/#83138e702683
+https://developer.mbed.org/teams/ST/code/X_NUCLEO_IHM01A1/#ed3a6990a6eb
--- a/main.cpp	Tue Jan 19 15:58:22 2016 +0000
+++ b/main.cpp	Tue Feb 09 10:54:12 2016 +0000
@@ -58,7 +58,7 @@
 /* Variables -----------------------------------------------------------------*/
 
 /* Initialization parameters. */
-L6474_InitTypeDef init =
+L6474_Init_t init =
 {
     160,                              /* Acceleration rate in step/s2. Range: (0..+inf). */
     160,                              /* Deceleration rate in step/s2. Range: (0..+inf). */