mirror of
https://github.com/adafruit/Adafruit_TSL2561.git
synced 2025-08-01 01:44:27 +02:00
add travis tag
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
# Adafruit TSL2561 Light Sensor Driver #
|
||||
# Adafruit TSL2561 Light Sensor Driver # [](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 */
|
||||
|
Reference in New Issue
Block a user