mirror of
https://github.com/filiprojek/auto-awning-close.git
synced 2024-11-22 17:31:02 +01:00
update
This commit is contained in:
parent
435fc00b9a
commit
3d20bd1a78
@ -171,13 +171,13 @@ void loop()
|
|||||||
// rain actions
|
// rain actions
|
||||||
if(digitalRead(rain) != HIGH)
|
if(digitalRead(rain) != HIGH)
|
||||||
{
|
{
|
||||||
Serial.println("cegoslav");
|
relayOn(relay1, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// wind actions
|
// wind actions
|
||||||
if (digitalRead(wind) == HIGH)
|
if (digitalRead(wind) == HIGH)
|
||||||
{
|
{
|
||||||
digitalWrite(relay1, HIGH);
|
relayOn(relay1, true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user