Hi,
Why not use an ISR (Interrupt service routine) to handle the stepper motor. I've done something like that for a board with a LCD and a L297/L298. The main loop calculates how often the ISR should fire and the ISR just toggles the correct pins.
Regards
Ian Dobson
↧