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

Dependencies:   X_NUCLEO_IHM01A1

Fork of MotorControl_IHM01A1 by ST

Motor Control with the X-NUCLEO-IHM01A1 Expansion Board

This application provides a more complex 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, with an example of ISR and error handler, as well as an almost complete coverage of the available APIs, e.g.:

  • moving the rotor to a specific position;
  • moving the rotor for a certain amount of time;
  • setting the speed value;
  • setting the direction of rotation;
  • changing the stepper motor mode;
  • soft/hard stopping the rotor;
  • powering off the power bridge.
Revision:
15:4a1684b7252b
Parent:
14:7264b1f6afec
Child:
20:bec1eba352a5
--- a/main.cpp	Wed Jan 13 15:22:56 2016 +0000
+++ b/main.cpp	Fri Jan 15 17:10:16 2016 +0000
@@ -4,7 +4,7 @@
  * @author  Davide Aliprandi, STMicrolectronics
  * @version V1.0.0
  * @date    October 14th, 2015
- * @brief   mbed test application for the STMicrolectronics X-NUCLEO-IHM01A1
+ * @brief   mbed test application for the STMicroelectronics X-NUCLEO-IHM01A1
  *          Motor Control Expansion Board: control of 1 motor showing the usage
  *          of all the related APIs.
  ******************************************************************************