Version 1.31

Fixed one minor bug.
This commit is contained in:
Alexey Zholtikov 2023-02-18 10:07:15 +03:00
parent b940f325f2
commit 551866b040
2 changed files with 5 additions and 3 deletions

View File

@ -21,7 +21,6 @@
```text
Relay GPIO GPIO12 HIGH
Led GPIO GPIO13 LOW
Button GPIO GPIO04 RISING
Ext sensor GPIO GPIO14 DS18B20
```

View File

@ -32,7 +32,7 @@ typedef struct
std::vector<espnow_message_t> espnowMessage;
const String firmware{"1.3"};
const String firmware{"1.31"};
String espnowNetName{"DEFAULT"};
@ -105,6 +105,9 @@ void setup()
if (relayPin)
{
pinMode(relayPin, OUTPUT);
if (workMode)
digitalWrite(relayPin, relayPinType ? !relayStatus : relayStatus);
else
digitalWrite(relayPin, relayPinType ? relayStatus : !relayStatus);
}
if (ledPin)