diff --git a/adafruit_tcs34725.py b/adafruit_tcs34725.py index 88c201a..994c2c7 100644 --- a/adafruit_tcs34725.py +++ b/adafruit_tcs34725.py @@ -121,7 +121,7 @@ def __init__(self, i2c: I2C, address: int = 0x29): self.glass_attenuation = 1.0 # Check sensor ID is expectd value. sensor_id = self._read_u8(_REGISTER_SENSORID) - if sensor_id not in (0x44, 0x10): + if sensor_id not in (0x44, 0x10, 0x4D): raise RuntimeError("Could not find sensor, check wiring!") @property