From 200ff30f627730fe2cd81c54d230b801a520306d Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 29 May 2021 19:11:40 +0200 Subject: [PATCH] allow analog sensor some time to settle --- esp32/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esp32/src/main.cpp b/esp32/src/main.cpp index a98ec80..6bd73f9 100644 --- a/esp32/src/main.cpp +++ b/esp32/src/main.cpp @@ -261,6 +261,7 @@ void readOneWireSensors(bool withMQTT) void readPowerSwitchedSensors() { digitalWrite(OUTPUT_ENABLE_SENSOR, HIGH); + delay(10); for (int readCnt = 0; readCnt < AMOUNT_SENOR_QUERYS; readCnt++) { for (int i = 0; i < MAX_PLANTS; i++)