You tell the stepper to move from 0 to 3520. How many times will distanceToGo not equal 3250 during that move ?
It looks like you should be testing whether distanceToGo is not equal to 0 rather than 3520
You tell the stepper to move from 0 to 3520. How many times will distanceToGo not equal 3250 during that move ?
It looks like you should be testing whether distanceToGo is not equal to 0 rather than 3520