added correction option

This commit is contained in:
2021-04-22 19:13:37 +02:00
parent f7beced262
commit 1c4e8b18e7
2 changed files with 2 additions and 1 deletions

View File

@@ -109,7 +109,7 @@ void notFound(AsyncWebServerRequest *request) {
void readSensor() {
// read the actual temperature after it's been converted
temperature = sensor.getTempCByIndex(0);
temperature = sensor.getTempCByIndex(0) + CORRECTION;
// do what you need with the temperature here
metrics = "temp ";
metrics += temperature;