Table 1: Winding lead polarities for two-phase stepping sequence
  Winding 1 Winding 2
Step # Lead A Lead B Lead A Lead B
1 0 1 0 1
2 0 1 1 0
3 1 0 1 0
4 1 0 0 1

Table 2: Switch positions for two-phase stepping sequence
  Winding 1 Winding 2
Step # S1 S2 S3 S4 S1 S2 S3 S4
1 1 0 0 1 1 0 0 1
2 1 0 0 1 0 1 1 0
3 0 1 1 0 0 1 1 0
4 0 1 1 0 1 0 0 1

Table 3: Switch positions for two-phase stepping sequence for a unipolar motor
  Winding 1 Winding 2
Step # S1 S2 S1 S2
1 1 0 1 0
2 1 0 0 1
3 0 1 0 1
4 0 1 1 0

Table 4: Microcontroller digital outputs for two-phase stepping sequence for a unipolar motor
Step # do1 do2 do3 do4
1 1 0 1 0
2 1 0 0 1
3 0 1 0 1
4 0 1 1 0