Can I make this code shorter?

Just a run of the mill Stepper.... Limit Switch :slight_smile: