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 {