Hi,
I have to turn ON/OFF an LED-based on the outer environment light. For example, if there is sunlight then turn OFF LED and if there is night then turn ON LED. I need a simple basic program to set up the OPT3007 sensor for this task. I am a bit new with this sensor so I am confused about how to start it>
Any help or suggestions are much appreciated.
Thanks
[/Ultra-Thin Ambient Light Sensor[/https://www.sparkfun.com/products/15498]