hezhian hezhain / armtest

Fork of stepper by Xiaoyuan Yu

Files at this revision

API Documentation at this revision

Comitter:
hezhian
Date:
Thu Jul 26 06:28:55 2018 +0000
Parent:
3:fd565358f888
Commit message:
final test program

Changed in this revision

stepper.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/stepper.cpp	Wed Jul 25 11:09:25 2018 +0000
+++ b/stepper.cpp	Thu Jul 26 06:28:55 2018 +0000
@@ -51,6 +51,6 @@
     remain(0), step(stepPin), dir(dirPin), en(enPin), limitSwitch(limitSwitchPin)
 {
     disable();
-    limitSwitch.mode(PullUp);
+    //limitSwitch.mode(PullUp);
     stepper.attach(this, &stepperMotor::moveStepper, period);
 }