Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_IHM02A1
Fork of HelloWorld_IHM02A1 by
Motor Control with the X-NUCLEO-IHM02A1 Expansion Board
This application provides a simple example of usage of the X-NUCLEO-IHM02A1 Stepper Motor Control Expansion Board.
It shows how to use two stepper motors connected in daisy chain configuration to the board, moving the rotors to specific positions, with given speed values, direction of rotations, etc.
Diff: main.cpp
- Revision:
- 3:fd280b953f77
- Parent:
- 2:41eeee48951b
- Child:
- 5:3b8e19bbf386
diff -r 41eeee48951b -r fd280b953f77 main.cpp
--- a/main.cpp Thu Nov 26 16:24:52 2015 +0000
+++ b/main.cpp Fri Nov 27 16:41:46 2015 +0000
@@ -77,7 +77,7 @@
/*----- Initialization. -----*/
/* Initializing SPI bus. */
- DevSPI dev_spi(D11, D12, D13);
+ DevSPI dev_spi(D11, D12, D3);
/* Initializing Motor Control Expansion Board.
