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

Files at this revision

API Documentation at this revision

Comitter:
gidiana
Date:
Thu Dec 06 21:01:23 2018 +0000
Parent:
13:08617f604d55
Child:
15:c781dda7e44c
Commit message:
bug fix

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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 -----------------------------------------------------------------*/
 
 /**