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.
Diff: main.cpp
- Revision:
- 8:146aac014c84
- Parent:
- 7:1d8a73b24eba
- Child:
- 9:dc704c11181d
diff -r 1d8a73b24eba -r 146aac014c84 main.cpp --- a/main.cpp Thu Nov 26 16:03:39 2015 +0000 +++ b/main.cpp Thu Nov 26 16:18:24 2015 +0000 @@ -67,7 +67,6 @@ { /*----- Initialization. -----*/ - /* Initializing SPI bus. */ DevSPI dev_spi(D11, D12, D13);