which measures the intensity of light bouncing back from an object as an Arduino drives the LED through all possible colors with PWM signals. The sensor needs to be white balanced before use but ...
Arduino controlled Christmas lights! It all started because [Anx2k] had some leftover LED’s from one of his other projects, so he decided to make use of them as permanently mounted Christmas lights.