Stepper controller with can interface

Dependencies:   X-NUCLEO-IHM05A1

Files at this revision

API Documentation at this revision

Comitter:
stebonicelli
Date:
Tue Jun 25 09:02:36 2019 +0000
Parent:
28:8878dd50b7e1
Commit message:
da 16 a 8;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 8878dd50b7e1 -r 847123225e37 main.cpp
--- a/main.cpp	Fri Jun 21 07:58:24 2019 +0000
+++ b/main.cpp	Tue Jun 25 09:02:36 2019 +0000
@@ -139,7 +139,7 @@
   
   button.rise(&button_int_handler);
   
-  motor->set_step_mode(StepperMotor::STEP_MODE_1_16);
+  motor->set_step_mode(StepperMotor::STEP_MODE_1_8);
   
   motor_set_home();