Simple program featuring a few API functions usage of the X_NUCLEO_IHM05A1 library.
Dependencies: X-NUCLEO-IHM05A1 mbed
Fork of HelloWorld_IHM05A1 by
This application provides a simple example of usage of the X-NUCLEO-IHM05A1 Bipolar Stepper Motor Control Expansion Board.
It shows how to use a stepper motor connected to the board by:
- Running the motor;
- Monitoring the speed and the motor state;
- Setting/Getting the speed;
- Setting/Getting the step mode;
- Setting/Getting the acceleration and deceleration;
- Moving a defined number of steps or microsteps;
- Setting/Getting the direction;
- Setting/Getting the decay mode.
For the hardware configuration of the expansion board, please refer to the X_NUCLEO_IHM05A1 library web page.
Diff: X-NUCLEO-IHM05A1.lib
- Revision:
- 6:6fb625ef867a
- Parent:
- 4:5e5f1535e3b5
- Child:
- 7:27124344c5e5
diff -r bc710d77d801 -r 6fb625ef867a X-NUCLEO-IHM05A1.lib --- a/X-NUCLEO-IHM05A1.lib Fri Mar 24 11:00:38 2017 +0100 +++ b/X-NUCLEO-IHM05A1.lib Fri Mar 24 13:31:04 2017 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ST/code/X-NUCLEO-IHM05A1/#2af31245e67e +https://developer.mbed.org/teams/ST/code/X-NUCLEO-IHM05A1/#0b52159554b5