lower sampling to fix self heat. add missing function to header
This commit is contained in:
parent
2b733de280
commit
cc9e784cda
|
|
@ -21,6 +21,10 @@ void setup() {
|
||||||
ESP_LOGE(TAG, "Couldn't find a valid sensor");
|
ESP_LOGE(TAG, "Couldn't find a valid sensor");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
bme.setSampling(Adafruit_BME280::MODE_NORMAL, Adafruit_BME280::SAMPLING_X2,
|
||||||
|
Adafruit_BME280::SAMPLING_X2, Adafruit_BME280::SAMPLING_NONE,
|
||||||
|
Adafruit_BME280::FILTER_OFF,
|
||||||
|
Adafruit_BME280::STANDBY_MS_62_5);
|
||||||
|
|
||||||
bme_temp->printSensorDetails();
|
bme_temp->printSensorDetails();
|
||||||
bme_pressure->printSensorDetails();
|
bme_pressure->printSensorDetails();
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,6 @@ float get_pressure();
|
||||||
|
|
||||||
void dbg_sens();
|
void dbg_sens();
|
||||||
|
|
||||||
|
float get_altitude();
|
||||||
|
|
||||||
} // namespace env_sens
|
} // namespace env_sens
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue