CircuitPython driver for TSL2561 Light Sensor.
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.
>>> import board
>>> import busio
>>> i2c = busio.I2C(board.SCL, board.SDA)
>>> import adafruit_tsl2561
>>> tsl = adafruit_tsl2561.TSL2561(i2c)
>>> tsl.lux
3294.37
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
.. toctree:: :maxdepth: 2 api