allow analog sensor some time to settle

This commit is contained in:
Your Name 2021-05-29 19:11:40 +02:00
parent 2c5d61a124
commit 200ff30f62

View File

@ -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++)