Updated stepper motor controller

Fork of StepperController by Viorel Stefan Savinescu

Files at this revision

API Documentation at this revision

Comitter:
acracan
Date:
Fri Jun 15 17:39:52 2018 +0000
Parent:
1:6e8186dd5bfa
Commit message:
.

Changed in this revision

steppercontroller.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/steppercontroller.cpp	Fri Jun 08 08:05:29 2018 +0000
+++ b/steppercontroller.cpp	Fri Jun 15 17:39:52 2018 +0000
@@ -7,6 +7,7 @@
     this->enB.period(50e-6f);
     pulseWidth = 0.1f;
     state = 0;
+    seq = Interleaved;
 }
 
 void StepperController::advance()