jt41time:
Have not tested it. I'm wondering if anyone has any input on why this would not work and how to make this code better....
Test first. If it does not work then ask for advice.
The Arduino system has been designed to make testing very simple.
And I agree with @Wawa
...R
Stepper Motor Basics