diff --git a/Adafruit_BME280.cpp b/Adafruit_BME280.cpp index 7b9c0ec..d36f0c2 100644 --- a/Adafruit_BME280.cpp +++ b/Adafruit_BME280.cpp @@ -303,7 +303,8 @@ void Adafruit_BME280::takeForcedMeasurement() write8(BME280_REGISTER_CONTROL, _measReg.get()); // wait until measurement has been completed, otherwise we would read // the values from the last measurement - while (read8(BME280_REGISTER_STATUS) & 0x08); + while (read8(BME280_REGISTER_STATUS) & 0x08) + delay(1); } }