the problem is that as soon as the homing process is completed, the stepper begins to move without pressing the start button.
This
void loop()
{
if (digitalRead(buttonState)){
stepper.move(16);
}
stepper.run();
}
Will certainly do that
the problem is that as soon as the homing process is completed, the stepper begins to move without pressing the start button.
This
void loop()
{
if (digitalRead(buttonState)){
stepper.move(16);
}
stepper.run();
}
Will certainly do that