Code for new stepper motors