adafruit_guvx_i2c
¶
Python drivers for the GUVA-C32SM and GUVB-C31SM I2C UV sensors
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_guvx_i2c.GUVA_C32SM(i2c_bus: I2C, address: int = 57)¶
Driver for the GUVA-C32SM sensor
Note: untested!
- class adafruit_guvx_i2c.GUVB_C31SM(i2c_bus: I2C, address: int = 57)¶
Driver for the GUVB-C31SM sensor
- class adafruit_guvx_i2c.GUVX_I2C(i2c_bus: I2C, address: int = 57)¶
Base driver for the GUVA or GUVB I2C UV light sensor.
- Parameters:
- property power_mode: int¶
One of four power modes available:
GUVXI2C_PMODE_NORMAL, GUVXI2C_PMODE_LOWPOWER, GUVXI2C_PMODE_AUTOSHUT, or GUVXI2C_PMODE_SHUTDOWN