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.
X-NUCLEO-IHM05A1.lib@0:36aa6787d4f9, 2016-04-27 (annotated)
- Committer:
- nucleosam
- Date:
- Wed Apr 27 16:32:15 2016 +0000
- Revision:
- 0:36aa6787d4f9
- Child:
- 1:868ccc44b373
Initial version tested on NUCLEO-F401RE and NUCLEO-F334R8
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nucleosam | 0:36aa6787d4f9 | 1 | X-NUCLEO-IHM05A1#5cc2691ccfff |