From a983c98b15c8af9719c428c0770ee6f07e48c8b3 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Mon, 26 Jul 2021 22:37:34 +0200 Subject: [PATCH] update --- main/main.ino | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main/main.ino b/main/main.ino index b075953..18121ad 100644 --- a/main/main.ino +++ b/main/main.ino @@ -156,6 +156,7 @@ void loop() { if(isOpen == false) { + Serial.println("cas otevira"); relayOn(relay4); } } @@ -163,6 +164,7 @@ void loop() { if(isOpen == true) { + Serial.println("cas zavira"); relayOn(relay1); } } @@ -171,13 +173,15 @@ void loop() // rain actions if(digitalRead(rain) != HIGH) { + Serial.println("voda zavira"); relayOn(relay1, true); } // wind actions if (digitalRead(wind) == HIGH) { - relayOn(relay1, true); + Serial.println("vitr zavira"); + //relayOn(relay1, true); } else {