MAX44009 Ambient Light Sensor
The MAX44009 device, provides ambient light sensing (ALS), giving direct lux output.
This Sample code can be used with Raspberry Pi
Download and install smbus library on Raspberry pi. Steps to install smbus are provided at:
https://pypi.python.org/pypi/smbus-cffi/0.5.1
Download (or git pull) the code in pi. Run the program.
$> python test_max44009.py
#####The code output is the lux value of ambient light.