I'm new to Arduino coding. Could someone maybe assist me with the following arduino code:
I would like a code witch will be able to do the following:
Button 1 - Turn Stepper motor into one direction for a specific amount of steps. Button 2 - Turn Stepper motor in the opposite direction for a specific amount of steps.
Then I would like to use a Optical mouse sensor to move the same stepper motor at the same speed as the movement of the optical sensor. for example the stepper motor must increase and decrease speed when the sensor is moved quicker and slower. Stepper motor only have to move in one direction on movement.
Hope someone would be able to assist.