Quote Originally Posted by NightHawk View Post
The sequence in the code is 1100 0110 0011 1001, it works on my steppers with the wires plugged in a straight row, if that's what you mean. Thanks for the input guys, I'll study this and see if I can rewrite with the new information.
Yep that's what I was talking about....

Now all you have to do is write a subroutine to impose those bits on the right pins...

You may also have to put in a little delay before each subroutine returns to let the motor settle... Unless you've got the world's second slowest computer you'll overrun that motor pretty easily... something like the windows Sleep(milliseconds) command might help you there.