MrMikey83
New Member
For a project I'm working on, I have purchased several RGB LED's. There is one cathode and 3 anodes, one for each color.
They will be controlled by an ATMEGA32.
I need to figure out a way to have one output turn the LED on and off, while 3 other outputs control what color is lit. So, 4 outputs total, one on the cathode side and one on each anode.
Do I do this with transistors? If so, how? I did a mockup on the breadboard with switches instead of the ATMEGA32 and somehow, colors lit that weren't supposed to.
Thanks
~Mike
They will be controlled by an ATMEGA32.
I need to figure out a way to have one output turn the LED on and off, while 3 other outputs control what color is lit. So, 4 outputs total, one on the cathode side and one on each anode.
Do I do this with transistors? If so, how? I did a mockup on the breadboard with switches instead of the ATMEGA32 and somehow, colors lit that weren't supposed to.
Thanks
~Mike