diff --git a/src/Stepper.h b/src/Stepper.h index 2e68979..9bfa711 100644 --- a/src/Stepper.h +++ b/src/Stepper.h @@ -8,6 +8,7 @@ * High-speed stepping mod by Eugene Kozlenko * Timer rollover fix by Eugene Kozlenko * Five phase five wire (1.1.0) by Ryan Orendorff + * Shutdown the motor (1.2.0) by Kunal Saini * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -95,7 +96,9 @@ class Stepper { // mover method: void step(int number_of_steps); - + // if true, arduino will shutdown the motor after the each step and + // prevents the motor from overheat + bool releaseMode = true; int version(void); private: