I want to connect 8 LEDs to one GPIO. GPIO goes high LEDs turn ON, GPIO goes LOW LEDs turn OFF or opposite logic - both are acceptable. I want to have some sort of IC in between which allows me to select one or more LEDs to turn ON when my GPIO goes HIGH (or LOW). It will be convenient if I can do this selection using i2c. So, if I have LED1 ... LED8 and I have enabled 2, 5, 7 then I can do a PWM on my GPIO and only LED - 2, 5, 7 turn ON based on PWM. Rest (1,3,4,6,8) remain OFF.
I am looking at demultiplexer list on Digikey but haven't found the right IC yet. Can someone help me select a part number? The IC needs to generate a weak logic output only. I will use a mosfet/transistor to drive the LED from this weak logic output.