• vsky's avatar
    BME280 - fixing 2 issues · fac579fb
    vsky authored
    1) Signal incorect reading when the sensor is disconnected.
    2) Reset humidity oversampling settings when calling `bme280.startreadout()` - if the sensor is reconnected and readouts are in forced mode there is no need to re-initialize the sensor (`bme280.init()`).
    fac579fb
bme280.c 16.3 KB