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 ST

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:
15:698fe51556c0
Parent:
12:5be6dd48b94a
Child:
18:591a007effc2
--- a/main.cpp	Wed Jan 20 10:15:17 2016 +0000
+++ b/main.cpp	Tue Feb 09 16:02:06 2016 +0000
@@ -70,7 +70,7 @@
 X_NUCLEO_IHM02A1 *x_nucleo_ihm02a1;
 
 /* Initialization parameters of the motors connected to the expansion board. */
-L6470_InitTypeDef init[L6470DAISYCHAINSIZE] =
+L6470_Init_t init[L6470DAISYCHAINSIZE] =
 {
     /* First Motor. */
     {