From e1159f206d58bc78fba2b7aac0492825c95a20fc Mon Sep 17 00:00:00 2001 From: Laurentiu Badea Date: Sun, 27 Jan 2019 15:15:00 -0800 Subject: [PATCH] Use SLEEP instead of ENABLE, as in Pololu schematic. --- src/BasicStepperDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BasicStepperDriver.cpp b/src/BasicStepperDriver.cpp index b4b3232..f202031 100644 --- a/src/BasicStepperDriver.cpp +++ b/src/BasicStepperDriver.cpp @@ -53,7 +53,7 @@ void BasicStepperDriver::begin(short rpm, short microsteps){ if IS_CONNECTED(enable_pin){ pinMode(enable_pin, OUTPUT); - digitalWrite(enable_pin, HIGH); // disable + disable(); } this->rpm = rpm;