Limit switch with Nema 17 and A4988

If the return value of a digitalRead isn't HIGH, there's no need to test it again to see if it is LOW :wink:

1 Like