Motion control example for 1 motor.

Dependencies:   X_NUCLEO_IHM03A1 mbed

Fork of IHM03A1_ExampleFor1Motor by ST Expansion SW Team

This application provides an example of usage of the X-NUCLEO-IHM03A1 High Power Stepper Motor Control Expansion Board.

It shows how to use one stepper motor connected to the board by:

  • moving the rotor a specific number of steps or to a specific position, with a given speed value, direction of rotation;
  • monitoring the motor status;
  • handling an interrupt triggered by the motor driver;
  • getting and setting a motor driver parameter.
  • etc.

For the hardware configuration of the expansion board, please refer to the X_NUCLEO_IHM03A1 home web page.

Files at this revision

API Documentation at this revision

Comitter:
nikapov
Date:
Thu Apr 14 09:10:34 2016 +0000
Parent:
4:5b4969cb5bf0
Commit message:
Updated libraries.

Changed in this revision

X_NUCLEO_IHM03A1.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
diff -r 5b4969cb5bf0 -r c72579273afb X_NUCLEO_IHM03A1.lib
--- a/X_NUCLEO_IHM03A1.lib	Wed Apr 13 13:03:11 2016 +0000
+++ b/X_NUCLEO_IHM03A1.lib	Thu Apr 14 09:10:34 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/ST-Expansion-SW-Team/code/X_NUCLEO_IHM03A1/#06f3a5360a45
+http://developer.mbed.org/teams/ST/code/X_NUCLEO_IHM03A1/#06f3a5360a45
diff -r 5b4969cb5bf0 -r c72579273afb mbed.bld
--- a/mbed.bld	Wed Apr 13 13:03:11 2016 +0000
+++ b/mbed.bld	Thu Apr 14 09:10:34 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/c0f6e94411f5
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/082adc85693f
\ No newline at end of file