I am trying to make a circuit that uses 3 pins to drive 6 LEDs using charlieplexing. The cicuit im using is this:
What I don't understand though, is that when I want to turn D1 on, PB0=1, PB1=0, and PB4=high impedance. That turns D1 on, but also D5 and D4, as shown in the other image. I don't understand how to avoid that. Could it be because im using different color LEDs with different forward voltages?
Thanks in advance