lower sampling to fix self heat. add missing function to header

This commit is contained in:
franchioping 2026-03-19 18:19:31 +00:00
parent 2b733de280
commit cc9e784cda
2 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,10 @@ void setup() {
ESP_LOGE(TAG, "Couldn't find a valid sensor");
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_pressure->printSensorDetails();

View File

@ -10,4 +10,6 @@ float get_pressure();
void dbg_sens();
float get_altitude();
} // namespace env_sens