For my project I have 10 leds connected in series and I am trying to make them all glow yellow, so I need half the current to go through the green led and the other half to go through the red led. As it is common anode, the anode is connected to a 9V battery through a 220 ohm resistor. The two legs ( red and green) are then attatched together at the end of the circuit, this wire then goes into the negative of the 9V battery. However the leds glow red when both the red and green wire go into the negative and they glow green when only the green wire goes into the negative. I am guessing that this may be as the red led in the RGB led has the least resistance.
Battery + ---- resistor ----- +leg of led ------ + leg of led ----- + leg of led ----R leg of led ------R leg of led ------R leg of led Battery - __________/_G led of led -------G leg of led -----G led of led
The slash represents where the R wire and the G wire are joined.