A stepper motor's place in its drive sequence, and how far it has turned.
Creates a stepper at the start of a drive pattern, with its position at zero.
The coil pattern currently held, without advancing.
How many steps have been taken, signed by direction.
Advances one step and returns the four-bit coil pattern to apply.
The most significant of the four bits is the first coil.
A stepper motor's place in its drive sequence, and how far it has turned.