This is a total newbie question…if I have a program that periodically sets one of the digital outputs HIGH via a “while” loop, does the pin automatically go back to LOW when the loop is no longer true?
Here’s an example snippet of what I’m doing:
while(secaccum>=57 && secaccum<=63 && Time.hourFormat12()!=6)
Currently, at the end of my void(loop), I have digitalWrite(correction, LOW) so that whenever the while loop is NOT true, the pin is off, but I wasn’t sure if that was really necessary.
Thanks for your input!