New Stepper Motor Controller code