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