Forked from https://github.com/pcvonz/tsl2591-rs.
TSL2591 driver
A WIP Rust implementation of the TSL2591 High Dynamic Range Digital Light Sensor.
Most of what's here is a straight port of the Adafruit C++ library.
Features
- Basic reading and lux calculation
- Interrupt support
Usage
t.enable.unwrap;
loop
License
This tool is released under the MIT license, hence allowing commercial use of the library. Please refer to the LICENSE file.