Simple program featuring a few API functions usage of the X_NUCLEO_IHM05A1 library.

Dependencies:   X-NUCLEO-IHM05A1 mbed

Fork of HelloWorld_IHM05A1 by ST Expansion SW Team

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.

History

Updating with new libraries. default tip

2017-07-28, by Davidroid [Fri, 28 Jul 2017 13:07:13 +0000] rev 8

Updating with new libraries.


Updating with the new version of the library.

2017-05-08, by Davidroid [Mon, 08 May 2017 15:53:01 +0000] rev 7

Updating with the new version of the library.


With the new version of the library.

2017-03-24, by Davidroid [Fri, 24 Mar 2017 13:31:04 +0000] rev 6

With the new version of the library.


Aligning to ARM mbed coding style.

2017-03-24, by davide.aliprandi@st.com [Fri, 24 Mar 2017 11:00:38 +0100] rev 5

Aligning to ARM mbed coding style.


Update libraries.

2016-05-03, by nikapov [Tue, 03 May 2016 08:54:47 +0000] rev 4

Update libraries.


Addition for compatibiltiy with NUCLEO-F302R8

2016-04-29, by nucleosam [Fri, 29 Apr 2016 15:58:05 +0000] rev 3

Addition for compatibiltiy with NUCLEO-F302R8


Removed inclusion of ?DevSPI.h?; Fixed comments.;

2016-04-29, by nucleosam [Fri, 29 Apr 2016 14:59:26 +0000] rev 2

Removed inclusion of ?DevSPI.h?; Fixed comments.;


Initial version tested on NUCLEO-F401RE and NUCLEO-F334R8

2016-04-27, by nucleosam [Wed, 27 Apr 2016 16:36:29 +0000] rev 1

Initial version tested on NUCLEO-F401RE and NUCLEO-F334R8


Initial version tested on NUCLEO-F401RE and NUCLEO-F334R8

2016-04-27, by nucleosam [Wed, 27 Apr 2016 16:32:15 +0000] rev 0

Initial version tested on NUCLEO-F401RE and NUCLEO-F334R8