TSL2561 Light Sensor

10 Sep 2013

Dear mbed developers,

I am working on TSL2561 light sensor. Unfortunately there is no mbed code for this sensor yet. So i am trying to convert Arduino Example Code into Mbed code. However, it does not work as i expected. The thing is i can not check whether the mbed board communicates with the sensor successfully or not. Sensor data still comes out, but there is no change.

Please feel free to discuss and also convert the code and share together. Please take a look at the following links for Arduino library Thank you very much,

/media/uploads/anhnt2407/tsl2561-arduino-library-master.zip

https://github.com/adafruit/TSL2561-Arduino-Library/blob/master/TSL2561.cpp https://github.com/adafruit/TSL2561-Arduino-Library/blob/master/examples/tsl2561/tsl2561.pde https://github.com/adafruit/TSL2561-Arduino-Library/blob/master/TSL2561.h