I am using Arduino uno + arduino motor shield and i am using 4 wire bipolar from scanner. This code is the only code was working. i been searching many pages and try a lot of different codes but this one the only one working. Basically the 4 wire bipolar i am using like this AABB so that was the problem. Now this code is working but its working forever i like to do step by step like i should try to decide how many step i need and when is the step done stops and i will click the button and same thing will happen but reverse. If this possible?