help:code for bipolar Stepper motor with limit switch