add travis tag

This commit is contained in:
ladyada
2018-01-18 13:56:02 -05:00
parent 74d363c5bd
commit 0277f44023

View File

@@ -1,7 +1,10 @@
# Adafruit TSL2561 Light Sensor Driver #
# Adafruit TSL2561 Light Sensor Driver # [![Build Status](https://travis-ci.org/adafruit/Adafruit_TSL2561.svg?branch=master)](https://travis-ci.org/adafruit/Adafruit_TSL2561)
This driver is for the Adafruit TSL2561 Breakout, and is based on Adafruit's Unified Sensor Library (Adafruit_Sensor).
<img src="https://cdn-shop.adafruit.com/970x728/439-00.jpg" height="300"/>
The driver supports manual or 'auto' gain. Adjusting the gain allows you to make the sensor more or less 'sensitive' to light (depending on if you are indoors or outdoors, for example):
```
tsl.setGain(TSL2561_GAIN_1X); /* No gain ... use in bright light to avoid sensor saturation */