control stepper motor with potentiometer arduino