Text this: State program vs. ladder program for stepper motor control