Hello.

I want to use this module with picbasic pro to read light intensity. Datasheet lists ideas how should this IC should be treated, however, it is quite hard to understand, since I never used I2C devices before. And reference manual lists only simple I2C code, without showing how to use these square and figure data. Nor samples included with compiler provide any useful I2C usage clues.

As I understand from datasheet, I need to write some value into device, then wait some time, and then read measured light amount. But how exactly - remains unclear. There's picaxe tread on this, but their syntax appears to be completely different:

http://www.picaxeforum.co.uk/showthr...-with-a-Picaxe