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.

Files at this revision

API Documentation at this revision

Comitter:
nikapov
Date:
Tue May 03 08:54:47 2016 +0000
Parent:
3:a6e155687c6a
Child:
5:bc710d77d801
Commit message:
Update libraries.

Changed in this revision

X-NUCLEO-IHM05A1.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/X-NUCLEO-IHM05A1.lib	Fri Apr 29 15:58:05 2016 +0000
+++ b/X-NUCLEO-IHM05A1.lib	Tue May 03 08:54:47 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/ST-Expansion-SW-Team/code/X-NUCLEO-IHM05A1/#2af31245e67e
+https://developer.mbed.org/teams/ST/code/X-NUCLEO-IHM05A1/#2af31245e67e
--- a/mbed.bld	Fri Apr 29 15:58:05 2016 +0000
+++ b/mbed.bld	Tue May 03 08:54:47 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/082adc85693f
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/aae6fcc7d9bb
\ No newline at end of file