Set CONTROLHUMID before CONTROL
This commit is contained in:
parent
8bf92cf151
commit
0e61e7b726
|
|
@ -64,8 +64,8 @@ bool Adafruit_BME280::begin(uint8_t a) {
|
|||
return false;
|
||||
|
||||
readCoefficients();
|
||||
write8(BME280_REGISTER_CONTROLHUMID, 0x03); // Set before CONTROL (DS 5.4.3)
|
||||
write8(BME280_REGISTER_CONTROL, 0x3F);
|
||||
write8(BME280_REGISTER_CONTROLHUMID, 0x03);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue