Ah, got it, thanks!
But if it was not critical that the LEDs must be off while the button is pressed, then there would be no need to set the pin HIGH and so no need for those resistors?
Ah, got it, thanks!
But if it was not critical that the LEDs must be off while the button is pressed, then there would be no need to set the pin HIGH and so no need for those resistors?