Delays not working/sets of code in loop are skiped

ieee488:
I hope you aren't powering your stepper motor from the Arduino.

I hope so too :sweat_smile: :sweat_smile: :sweat_smile:

Also SpiritKitty put your code into the code brackets it is a mess!