Stepper control with multiple momentary toggles

Rather than doing all the stepper moves in a FOR loop just do them one step at a time and use a variable keep count. That way the buttons can be tested between every step.

...R