Simple test application for the STMicroelectronics X-NUCLEO-IHM01A1 Stepper Motor Control Expansion Board, built against mbed OS.
Dependencies: X_NUCLEO_IHM01A1
Fork of HelloWorld_IHM01A1 by
This application provides a simple example of usage of the X-NUCLEO-IHM01A1 Stepper Motor Control Expansion Board. It shows how to use one stepper motor connected to the board, moving the rotor to a specific position, with a given speed value, direction of rotation, etc.
Revision 25:3c863b420ac5, committed 2016-03-11
- Comitter:
- Davidroid
- Date:
- Fri Mar 11 16:12:03 2016 +0000
- Parent:
- 24:da8e9fc2b66e
- Child:
- 26:b0203c2265e5
- Commit message:
- + Updated with the new version of the library.
Changed in this revision
--- a/X_NUCLEO_IHM01A1.lib Mon Feb 15 16:02:48 2016 +0000 +++ b/X_NUCLEO_IHM01A1.lib Fri Mar 11 16:12:03 2016 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ST/code/X_NUCLEO_IHM01A1/#58264db10a17 +http://developer.mbed.org/teams/ST/code/X_NUCLEO_IHM01A1/#258f0f60d30c
--- a/main.cpp Mon Feb 15 16:02:48 2016 +0000
+++ b/main.cpp Fri Mar 11 16:12:03 2016 +0000
@@ -92,15 +92,15 @@
/* Functions -----------------------------------------------------------------*/
/**
- * @brief This is an example of user handler for the flag interrupt.
- * @param None
- * @retval None
- * @note If needed, implement it, and then attach and enable it:
- * + motor->AttachFlagIRQ(&FlagIRQHandler);
- * + motor->EnableFlagIRQ();
- * To disable it:
- * + motor->DisbleFlagIRQ();
- */
+ * @brief This is an example of user handler for the flag interrupt.
+ * @param None
+ * @retval None
+ * @note If needed, implement it, and then attach and enable it:
+ * + motor->AttachFlagIRQ(&FlagIRQHandler);
+ * + motor->EnableFlagIRQ();
+ * To disable it:
+ * + motor->DisbleFlagIRQ();
+ */
void FlagIRQHandler(void)
{
/* Set ISR flag. */
--- a/mbed.bld Mon Feb 15 16:02:48 2016 +0000 +++ b/mbed.bld Fri Mar 11 16:12:03 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/4f6c30876dfa \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/87f2f5183dfb \ No newline at end of file
