diff --git a/src/main.cpp b/src/main.cpp index 73f1937..5954a1e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -94,12 +94,12 @@ void wifi_setup(void) void initSCD30(void) { - timeseries_init(&ts_scd30_co2, timeClient.getEpochTime(), 15, "ppm", "%.1f"); + timeseries_init(&ts_scd30_co2, timeClient.getEpochTime(), 15, "ppm", "%.0f"); timeseries_init(&ts_scd30_temperature, timeClient.getEpochTime(), 15, "°C", "%.1f"); timeseries_init(&ts_scd30_humidity, timeClient.getEpochTime(), 15, "%", "%.1f"); timeseries_init(&ts_bme680_temperature, timeClient.getEpochTime(), 15, "°C", "%.1f"); timeseries_init(&ts_bme680_humidity, timeClient.getEpochTime(), 15, "%", "%.1f"); - timeseries_init(&ts_bme680_pressure, timeClient.getEpochTime(), 15, "hPa", "%.1f"); + timeseries_init(&ts_bme680_pressure, timeClient.getEpochTime(), 15, "hPa", "%.2f"); timeseries_init(&ts_bme680_gas_resistance, timeClient.getEpochTime(), 15, "kOhm", "%.1f"); // Try to initialize! @@ -347,7 +347,7 @@ static void draw_epaper_callback(GxEPD2_DISPLAY_CLASSsetCursor(0, y); display->setFont(&FreeSans12pt7b); - display->print("Gas: "); + display->print("VOC: "); y += FreeSans12pt7b.yAdvance; display->setCursor(0, y);