Controlling a stepper motor with the control of a button