Hi, I have a common anode RGB LED (591-3501-833F) that I can't get to do color mixing. The anode is limited by a 1k resistor, and each cathode is hooked up to a port on an ATMega328p processor. See the attached schematic. By putting any one of the 3 digital pins LOW in my Arduino program I can get one of the colors to light up. But I can't get multiple colors to light up for color mixing, and if I set the red channel LOW with either of the others also LOW, then only the red shows up. What am I doing wrong?
Attachments
-
6 KB Views: 13