mirror of
https://github.com/filiprojek/auto-awning-close.git
synced 2024-11-02 10:32:28 +01:00
update
This commit is contained in:
parent
435fc00b9a
commit
3d20bd1a78
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user