We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6369f7 commit 3c2e13bCopy full SHA for 3c2e13b
Adafruit_BME280.cpp
@@ -63,8 +63,11 @@ bool Adafruit_BME280::begin(uint8_t a) {
63
return false;
64
65
readCoefficients();
66
- write8(BME280_REGISTER_CONTROLHUMID, 0x03); // Set before CONTROL (DS 5.4.3)
67
- write8(BME280_REGISTER_CONTROL, 0x3F);
+
+ //Set before CONTROL_meas (DS 5.4.3)
68
+ write8(BME280_REGISTER_CONTROLHUMID, 0x05); //16x oversampling
69
70
+ write8(BME280_REGISTER_CONTROL, 0xB7); // 16x ovesampling, normal mode
71
return true;
72
}
73
0 commit comments