1

Dependencies:   X-NUCLEO-IHM05A1

Example code to use L6208 stepper motor driver with nucleo evaluation shield

Explanation: Run a test to determine the maximum speed of the motor at given current and acceleration Run the motor in position mode with microstepping and slow decay

Revision:
14:1b70207bf922
Parent:
13:08617f604d55
Child:
15:c781dda7e44c
--- a/main.cpp	Thu Dec 06 20:19:20 2018 +0000
+++ b/main.cpp	Thu Dec 06 21:01:23 2018 +0000
@@ -27,7 +27,7 @@
 
 /* Motor Control Component. */
 L6208 *motor;
-
+DigitalIn button (USER_BUTTON);
 /* Functions -----------------------------------------------------------------*/
 
 /**