aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-08-01 11:43:26 +0100
committerdakkar <dakkar@thenautilus.net>2024-08-01 11:43:26 +0100
commitd5b48ee1b389cb994b3f741ce02c11b5ab387df4 (patch)
tree589d12664e6f022a4f79d359d35e370e3a2318db
parentserial protocol: helper program & docs (diff)
downloadenv-sensor-d5b48ee1b389cb994b3f741ce02c11b5ab387df4.tar.gz
env-sensor-d5b48ee1b389cb994b3f741ce02c11b5ab387df4.tar.bz2
env-sensor-d5b48ee1b389cb994b3f741ce02c11b5ab387df4.zip
disable auto-calibrationHEADmaster
it works if the sensor spends most of its time powered on, outside mine spends most of its time powered off, and when it's on, it's inside rooms with people
-rw-r--r--co2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/co2.h b/co2.h
index a6a1480..6a89c8d 100644
--- a/co2.h
+++ b/co2.h
@@ -28,7 +28,7 @@ public:
Serial.println(errorMessage);
}
- error = scd4x.setAutomaticSelfCalibration(1);
+ error = scd4x.setAutomaticSelfCalibration(0);
if (error) {
Serial.print("! CO2 setAutomaticSelfCalibration() error: ");
errorToString(error, errorMessage, 256);