Quick question on my code above:
Will this while statement:
MirrorPinRead = digitalRead(MirrorPin)
while ((MirrorPositioned = 0) && (MirrorPinRead = LOW));
MirrorPinRead = digitalRead(MirrorPin);
myStepper.step(-1);
delay(200);
loop over and over until the MirrorPinRead = HIGH?
Or, will it only run once though move stepper 1 position then leave the while loop; run the rest of the program, and loop back to the beginning and re-run this function because both variables in the while statement are still true?
If I had to guess; it would be the 2nd option.... based on how the stepper appears to be operating...