Test application for the STMicroelectronics X-NUCLEO-IHM01A1 Stepper Motor Control Expansion Board.
Dependencies: X_NUCLEO_IHM01A1 mbed
Fork of MotorControl_IHM01A1 by
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 27:95b6fcb30b93, committed 2017-03-13
- Comitter:
- Davidroid
- Date:
- Mon Mar 13 17:49:24 2017 +0000
- Parent:
- 26:7a58cede28f7
- Commit message:
- Updated with the new version of the library.
Changed in this revision
X_NUCLEO_IHM01A1.lib | Show annotated file Show diff for this revision Revisions of this file |
--- a/X_NUCLEO_IHM01A1.lib Fri Mar 10 14:50:46 2017 +0000 +++ b/X_NUCLEO_IHM01A1.lib Mon Mar 13 17:49:24 2017 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ST/code/X_NUCLEO_IHM01A1/#27da297c361c +https://developer.mbed.org/teams/ST/code/X_NUCLEO_IHM01A1/#974ca699c792