> Hi guys. I have a question. > > I have an LED that lights 3 different colors :red, green and ambar, I would > like to know what kind of sensor I could use to detect the 3 colors emited > from the LED. I believe that amber is the combination of red and green. You could use two photoelements with different color filters (red & green). Then, if you get a HIGH from the "red" sensor, and LOW from the "green" sensor, you could safely assume that the color of your LED at this given time is red. Same thing for green. And if *both* sensors give you a HIGH, the color is amber. Hope this helps, Vitaliy -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu