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.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
8:baedd289a8cc | 2017-07-28 | Davidroid | Updating with new libraries. |
7:27124344c5e5 | 2017-05-08 | Davidroid | Updating with the new version of the library. |
6:6fb625ef867a | 2017-03-24 | Davidroid | With the new version of the library. |
5:bc710d77d801 | 2017-03-24 | davide.aliprandi@st.com | Aligning to ARM mbed coding style. |
4:5e5f1535e3b5 | 2016-05-03 | nikapov | Update libraries. |
3:a6e155687c6a | 2016-04-29 | nucleosam | Addition for compatibiltiy with NUCLEO-F302R8 |
2:c5f455885df7 | 2016-04-29 | nucleosam | Removed inclusion of ?DevSPI.h?; Fixed comments.; |
1:868ccc44b373 | 2016-04-27 | nucleosam | Initial version tested on NUCLEO-F401RE and NUCLEO-F334R8 |
0:36aa6787d4f9 | 2016-04-27 | nucleosam | Initial version tested on NUCLEO-F401RE and NUCLEO-F334R8 |