continuous rotation stepper motor drive


I want to drive a stepper motor at a constant RPM in set direction continuously until Event A occurs.

all the functions in the stepper library seem to deal with speed control and using the number of steps.

instead of using number of steps to drive the stepper motor i want it to rotate continuously until event A happens (ie accelerator reading == 0 )

thanks in advance

Just get it to move 1 step and repeat that as often as you need.

Stepper Motor Basics
Simple Stepper Code