diff --git a/adafruit_scd30.py b/adafruit_scd30.py index 63bbebc..952bd48 100644 --- a/adafruit_scd30.py +++ b/adafruit_scd30.py @@ -61,10 +61,14 @@ def __init__(self, i2c_bus, ambient_pressure=0, address=SCD30_DEFAULT_ADDR): self._buffer = bytearray(18) self._crc_buffer = bytearray(2) - self.reset() + # Disabled for use with Blinka/MCP2221A + # self.reset() self.measurement_interval = 2 self.self_calibration_enabled = True + + # Not in datasheet, but needed for use with Blinka/MCP2221A + sleep(0.01) # sets ambient pressure and starts continuous measurements self.ambient_pressure = ambient_pressure