Skip to content

Commit

Permalink
Use SLEEP instead of ENABLE, as in Pololu schematic.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurb9 committed Jan 27, 2019
1 parent f34a509 commit e1159f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BasicStepperDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e1159f2

Please sign in to comment.