From 3d20bd1a78ccb67db36e8b622fad7a6baffdb3c9 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Sat, 19 Jun 2021 15:57:31 +0200 Subject: [PATCH] update --- main/main.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/main.ino b/main/main.ino index acb2f6f..b075953 100644 --- a/main/main.ino +++ b/main/main.ino @@ -171,13 +171,13 @@ void loop() // rain actions if(digitalRead(rain) != HIGH) { - Serial.println("cegoslav"); + relayOn(relay1, true); } // wind actions if (digitalRead(wind) == HIGH) { - digitalWrite(relay1, HIGH); + relayOn(relay1, true); } else {