I think there´s a bug in stepper.h library. I´m doing some experiments in my workbench and noticed that it doesn´t matter the number of steps motor runs, when stopped, phases "A" and "B" are kept on. I tried to increase by one step and.......bingo! "A" and "B" on, what could´n happen......this can affect precision of stepper motor applications.
São Paulo - Brazil