adafruit_ltr329_ltr303
¶
Python driver for LTR-329 and LTR-303 ight sensor
Author(s): ladyada
Implementation Notes¶
Hardware:
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://circuitpython.org/downloads
Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
Adafruit’s Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register
- class adafruit_ltr329_ltr303.LTR303(i2c: I2C, address: int = 41)¶
Base driver for the LTR-303 light sensor, basically an LTR-329 with INT out
- Parameters:
- class adafruit_ltr329_ltr303.LTR329(i2c: I2C, address: int = 41)¶
Base driver for the LTR-329 light sensor.
- Parameters:
- property als_data_gain: int¶
ALS gain for data that is being read now, can be: 1, 2, 4, 8, 48 or 96 times
- property integration_time: int¶
50, 100, 150, 200, 250, 300, 350, or 400 milliseconds
- Type:
ALS integration times, can be
- property light_channels: Tuple[int, int]¶
A data pair of both visible+IR light, and the IR-only light