Stepper Motors with Watchdog Switches

Modulo is slow because it uses a division operation. Can you post your updated code in [ code ] tags so we can see it?