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

Waiting a bit for sensor to set temperature offset

parent cdd0d56e
......@@ -56,6 +56,7 @@ namespace sensor {
Serial.print(abs(config::temperature_offset));
Serial.println(" K.");
scd30.setTemperatureOffset(abs(config::temperature_offset)); // setTemperatureOffset only accepts positive numbers, but shifts the temperature down.
delay(100);
Serial.print(F("Temperature offset is : -"));
Serial.print(scd30.getTemperatureOffset());
......
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