Adafruit TSL2561 Light Sensor Library
Adafruit TSL2561 Light/Lux sensor driver

Introduction

This is the documentation for Adafruit's TSL2561 driver for the Arduino platform. It is designed specifically to work with the Adafruit TSL2561 breakout: http://www.adafruit.com/products/439

These sensors use I2C to communicate, 2 pins (SCL+SDA) are required to interface with the breakout.

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Dependencies

This library depends on Adafruit_Sensor being present on your system. Please make sure you have installed the latest version before using this library.

Author

Written by Kevin "KTOWN" Townsend for Adafruit Industries.

License

BSD license, all text here must be included in any redistribution.

HISTORY

v2.0 - Rewrote driver for Adafruit_Sensor and Auto-Gain support, and added lux clipping check (returns 0 lux on sensor saturation) v1.0 - First release (previously TSL2561)