mirror of
https://github.com/filiprojek/auto-awning-close.git
synced 2024-11-23 01:31:02 +01:00
Temporary version: rain and wind actions disabled
This commit is contained in:
parent
ef05ce16e0
commit
fa60386901
@ -10,10 +10,10 @@ int wind = 8;
|
|||||||
int rain = 12;
|
int rain = 12;
|
||||||
int receiver = 9;
|
int receiver = 9;
|
||||||
|
|
||||||
int relay1 = 7;
|
int relay1 = 4;
|
||||||
int relay2 = 6;
|
int relay2 = 6;
|
||||||
int relay3 = 5;
|
int relay3 = 5;
|
||||||
int relay4 = 4;
|
int relay4 = 7;
|
||||||
|
|
||||||
// codes from remote controller
|
// codes from remote controller
|
||||||
const int recRelay4 = 3696136;
|
const int recRelay4 = 3696136;
|
||||||
@ -174,7 +174,7 @@ void loop()
|
|||||||
if(digitalRead(rain) != HIGH)
|
if(digitalRead(rain) != HIGH)
|
||||||
{
|
{
|
||||||
Serial.println("voda zavira");
|
Serial.println("voda zavira");
|
||||||
relayOn(relay1, true);
|
//relayOn(relay1, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// wind actions
|
// wind actions
|
||||||
|
Loading…
Reference in New Issue
Block a user