hezhian hezhain / armtest

Fork of stepper by Xiaoyuan Yu

Revision:
4:35d44eec6939
Parent:
3:fd565358f888
diff -r fd565358f888 -r 35d44eec6939 stepper.cpp
--- 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);
 }