diff --git a/adafruit_mcp9600.py b/adafruit_mcp9600.py index 37ca1e7..e8df381 100644 --- a/adafruit_mcp9600.py +++ b/adafruit_mcp9600.py @@ -218,8 +218,8 @@ def __init__(self, i2c, address=_DEFAULT_ADDRESS, tctype="K", tcfilter=0): self.buf[1] = tcfilter | (ttype << 4) with self.i2c_device as tci2c: tci2c.write(self.buf, end=2) - if self._device_id != 0x40: - raise RuntimeError("Failed to find MCP9600 - check wiring!") + if self._device_id not in (0x40, 0x41): + raise RuntimeError("Failed to find MCP9600 or MCP9601 - check wiring!") def alert_config( self,