Datasheet
Download Adafruit_TSL2591
To begin reading sensor data, you will need to download Adafruit_TSL2591_Library from our
github repository (http://adafru.it/dGz). You can do that by visiting the github repo and
manually downloading or, easier, just click this button to download the zip
Download Adafruit TSL2591
Library
http://adafru.it/dGA
Rename the uncompressed folder Adafruit_TSL2591 and check that the
Adafruit_TSL2591 folder contains Adafruit_TSL2591.cpp and Adafruit_TSL2591.h
Place the Adafruit_TSL2591 library folder your arduinosketchfolder/libraries/ folder.
You may need to create the libraries subfolder if its your first library. Restart the IDE.
We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use (http://adafru.it/aYM)
Download Adafruit_Sensor
The TSL2591 library uses the Adafruit_Sensor support backend so that readings can be
normalized between sensors. You can grab Adafruit_Sensor from the github
repo (http://adafru.it/aZm) or just click the button below.
Download Adafruit_Sensor
Library
http://adafru.it/cMO
Install like you did with Adafruit_TSL2591
Load Demo
Open up File->Examples->Adafruit_TSL2591->tsl2591 and upload to your Arduino
wired up to the sensor
© Adafruit Industries https://learn.adafruit.com/adafruit-tsl2591 Page 13 of 22