Jun-13-2021, 08:41 PM
(Jun-13-2021, 05:31 AM)bowlofred Wrote: What is the 200 loop for? Why not just move the stepper as long as a button is pressed and stop when it is released?
That is to back off the arm as it reached its limit end stop. I hit f it goes all the way back activates the gpio stops, then backs off 1.5 rotations. One rotation equates to 200 steps.