Another way that works surprisingly well is to have a line that turns all the LEDs off before you start the IF statements. The correct ones will be turned on again so quickly that the human eye won't notice.
...R
Another way that works surprisingly well is to have a line that turns all the LEDs off before you start the IF statements. The correct ones will be turned on again so quickly that the human eye won't notice.
...R