Simple test application for the STMicroelectronics X-NUCLEO-IHM01A1 Stepper Motor Control Expansion Board.
Dependencies: X_NUCLEO_IHM01A1 mbed
Fork of HelloWorld_IHM01A1 by
Motor Control with the X-NUCLEO-IHM01A1 Expansion Board
This application provides a simple 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, moving the rotor to a specific position, with a given speed value, direction of rotation, etc.
Revision 13:dd03d1f8f43b, committed 2015-12-04
- Comitter:
- Davidroid
- Date:
- Fri Dec 04 13:24:36 2015 +0000
- Parent:
- 12:e218356f35bd
- Child:
- 14:edcb72b71dac
- Commit message:
- + Correction of a typo.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Dec 01 13:55:19 2015 +0000 +++ b/main.cpp Fri Dec 04 13:24:36 2015 +0000 @@ -72,7 +72,6 @@ /* Initializing Motor Control Component. */ motor = new L6474(D2, D8, D7, D9, D10, dev_spi); - //motor = new L6474(D2, D8, D7, D4, D10, dev_spi); if (motor->Init(NULL) != COMPONENT_OK) return false;