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

Dependencies:   X_NUCLEO_IHM01A1 mbed

Fork of MotorControl_IHM01A1 by ST Expansion SW Team

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.
Committer:
Davidroid
Date:
Wed Oct 14 15:29:42 2015 +0000
Revision:
0:fedf3cf2324a
Child:
19:cd5a8c3cbf08
mbed test application for the STMicrolectronics X-NUCLEO-IHM01A1 Motor Control Expansion Board: control of 1 motor.; ; This application mirrors the corresponding Stm32Cube's "IHM01A1_ExampleFor1Motor" example.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Davidroid 0:fedf3cf2324a 1 http://mbed.org/users/mbed_official/code/mbed/builds/4f6c30876dfa