Serial stepper transmitter code