README 968 B

1234567891011121314151617181920
  1. This is a library for the TSL2561 digital luminosity sensors from Ams (Taos).
  2. Design goals:
  3. * It is modularized so you can use only what you need if space/ram is constrained.
  4. * It does not swallow error codes so you can react on them.
  5. * It doesn't use floats as they are overkill for most IoT stuff.
  6. Datasheet used:
  7. http://ams.com/eng/Products/Light-Sensors/Ambient-Light-Sensors/TSL2561/TSL2560-TSL2561-Datasheet
  8. http://ams.com/eng/content/download/250094/975485/file/TSL2560-61_DS000110_2-00.pdf
  9. http://ams.com/eng/content/view/download/145438
  10. http://ams.com/eng/content/view/download/181895
  11. To use the library, just place the folder in your projects lib folder.
  12. For usage, see the examples folder.
  13. The library has 3 classes:
  14. Tsl2561 All register access as described in the datasheet, except for interrupts
  15. Tsl2561Util Convenience functions like lux calculation or automatic gain
  16. Tsl2561Int TODO, Interrupt related stuff (not needed if int pin unconnected)