Hello again, sorry for the delay, but work on this project outside of my fulltime job.
The code you wrote it does its job, but when pressed butonPullupPin_1, the stepper stops for a split second then there goes 2000 milliseconds ... The problem is i don’t want to make this short stop because the button returns to its original state, but i have a sensor, which if stops in that place remains in state HIGH, and at loop resume does not start the stepper, because this condition stops him, and i need that stepper to going to the next least until the sensor detects the object and reaches the Low condition for the loop to resume normal.
So how can I remove the short stop that happening before putting a final end after passing the 2,000 milliseconds?
Thank you very much