diff --git a/adafruit_sgp40/__init__.py b/adafruit_sgp40/__init__.py index 058e9cc..70f298e 100644 --- a/adafruit_sgp40/__init__.py +++ b/adafruit_sgp40/__init__.py @@ -143,7 +143,7 @@ def initialize(self) -> None: # Self Test self._command_buffer[0] = 0x28 self._command_buffer[1] = 0x0E - self_test = self._read_word_from_command(delay_ms=250) + self_test = self._read_word_from_command(delay_ms=500) if self_test[0] != 0xD400: raise RuntimeError("Self test failed") self._reset() @@ -204,7 +204,7 @@ def raw(self) -> int: """The raw gas value""" # recycle a single buffer self._command_buffer = self._measure_command - read_value = self._read_word_from_command(delay_ms=250) + read_value = self._read_word_from_command(delay_ms=500) self._command_buffer = bytearray(2) return read_value[0]