When a stepper motor requires a sequence of four different on-off combinations (e.g., wire 1 on, 2 on, 3 off, 4 off) cycled repeatedly to continue rotating, is a group of four
Simple speed control for bipolar stepper motor - Motors, Mechanics, Power and CNC - Arduino Forum
A simple algorithm for microstepping a bipolar stepper motor - Embedded.com