RGB Led doesn't mix colors Answered
Hey all I am working with common anode RGB LED. I hooked each leg (red, green, blue) to pins 2-4 of my Arduino UNO. I then hooked the anode to 5v via a 22 ohm resistor. The code I wrote was very simple; turn pins 2 through 4 low, delay 500, turn pins 2-4 high. The problem I found was that instead of the color turning white it stayed red. I tried mixing red with green and red with blue, each time same thing it stayed red. Does this sound right?