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.

Files at this revision

API Documentation at this revision

Comitter:
Davidroid
Date:
Tue Feb 09 16:02:06 2016 +0000
Parent:
14:a612c93c8525
Child:
16:60ad0c63d336
Commit message:
+ Updated with the new version of the library.

Changed in this revision

X_NUCLEO_IHM02A1.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_IHM02A1.lib	Wed Jan 20 10:15:17 2016 +0000
+++ b/X_NUCLEO_IHM02A1.lib	Tue Feb 09 16:02:06 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/ST/code/X_NUCLEO_IHM02A1/#25a579b9b7c3
+https://developer.mbed.org/teams/ST/code/X_NUCLEO_IHM02A1/#e614697ebf34
--- 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. */
     {