You are reading a single comment by @tom.gidden and its replies. Click here to read the full conversation.
  • Hey,

    I've got a basic module for the TSL2561 luminosity sensor as sold by Adafruit done. It's pretty much a port of the Arduino library. It's not complete, and it's not fully working (which may or may not be a problem with my code or my specific sensor) but it's certainly sensing changes of light for me.

    Anyway, thought I'd mention it as it shows a reasonably neat abstraction of an I2C-based sensor with an asynchronous read callback...­sc/blob/master/tsl2561.js



Avatar for tom.gidden @tom.gidden started