Unknown errors.

I think this line should be inside the setup() function

myStepper.setSpeed(180);

...R