You'd have to add a PORTD = B00000000; before it started the loop again because any pin turned on stays on until turned off.
I want to think about this one some more when I'm not tired.
You'd have to add a PORTD = B00000000; before it started the loop again because any pin turned on stays on until turned off.
I want to think about this one some more when I'm not tired.