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

Dependencies:   X_NUCLEO_IHM02A1 mbed

Fork of HelloWorld_IHM02A1 by ST Expansion SW Team

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:
3:fd280b953f77
Parent:
2:41eeee48951b
Child:
5:3b8e19bbf386
--- a/main.cpp	Thu Nov 26 16:24:52 2015 +0000
+++ b/main.cpp	Fri Nov 27 16:41:46 2015 +0000
@@ -77,7 +77,7 @@
     /*----- Initialization. -----*/
 
     /* Initializing SPI bus. */
-    DevSPI dev_spi(D11, D12, D13);
+    DevSPI dev_spi(D11, D12, D3);
 
     /* Initializing Motor Control Expansion Board.