MotorDemo: Arduino code to drive stepper motor