Tags: RaspberryPi, FoxBox G20, Arduino, i2c, quick2wire, python
Example code to use an Adafruit TSL2561 light sensor with Pyhton on a RaspberryPi and FoxBox G20. This is just the first version. It hasn't been thoroughly tested nor did I made an attempt to write some high-class code. Also, I used my FoxBox G20 and not my Raspberry to test the stuff, but it should run on a Raspberry!
I used the following stuff:
http://www.adafruit.com/products/439
http://learn.adafruit.com/tsl2561/overview
https://github.com/adafruit/TSL2561-Arduino-Library
http://quick2wire.com wrote the i2c lib that I'm using
https://github.com/quick2wire/quick2wire-python-api