Do you mean:
if (ledState == LOW)
ledState = HIGH;
else
ledState = LOW;
?
Because that's the point. I can't figure out how to use that in my sketch.
Do you mean:
if (ledState == LOW)
ledState = HIGH;
else
ledState = LOW;
?
Because that's the point. I can't figure out how to use that in my sketch.