Simple test application for the STMicroelectronics X-NUCLEO-IHM01A1 Stepper Motor Control Expansion Board.

Dependencies:   X_NUCLEO_IHM01A1 mbed

Fork of HelloWorld_IHM01A1 by ST Expansion SW Team

Motor Control with the X-NUCLEO-IHM01A1 Expansion Board

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.

Revision:
23:54503e363f67
Parent:
21:0189493b15ec
Child:
25:3c863b420ac5
--- 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). */