Commit ca00c039 authored by Eric Duminil's avatar Eric Duminil
Browse files

Note

parent 73c59253
Pipeline #6581 failed with stage
in 2 minutes and 29 seconds
......@@ -261,7 +261,7 @@ namespace sensor {
last_measurement = now;
ntp::getLocalTime(timestamp);
co2 = sensor_S8->get_co2();
//TODO: Check if there's really no temperature info available.
//NOTE: S8 really doesn't have any temperature or humidity available.
temperature = 0.0;
humidity = 0.0;
......@@ -301,6 +301,7 @@ namespace sensor {
if (isAutoCalibrationOn != autoCalibration) {
Serial.print(F("Turn autocalibration "));
Serial.print(autoCalibration ? F("on") : F("off"));
// Default autocalibration period is 180h ~ 1 week
sensor_S8->set_ABC_period(autoCalibration ? 180 : 0);
delay(500);
Serial.println(F(". Done!"));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment