This commit is contained in:
Filip Rojek 2021-06-19 15:57:31 +02:00
parent 435fc00b9a
commit 3d20bd1a78

View File

@ -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
{