We need to know exactly what it does and what you expect it to do.
I would expect from that code that all the LEDs should be off. What do you expect?
As all the LEDs are not off then you have wired it up incorrectly.
We need to know exactly what it does and what you expect it to do.
I would expect from that code that all the LEDs should be off. What do you expect?
As all the LEDs are not off then you have wired it up incorrectly.