Version 1.31
Fixed one minor bug.
This commit is contained in:
parent
b940f325f2
commit
551866b040
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
```text
|
```text
|
||||||
Relay GPIO GPIO12 HIGH
|
Relay GPIO GPIO12 HIGH
|
||||||
Led GPIO GPIO13 LOW
|
|
||||||
Button GPIO GPIO04 RISING
|
Button GPIO GPIO04 RISING
|
||||||
Ext sensor GPIO GPIO14 DS18B20
|
Ext sensor GPIO GPIO14 DS18B20
|
||||||
```
|
```
|
||||||
|
@ -32,7 +32,7 @@ typedef struct
|
|||||||
|
|
||||||
std::vector<espnow_message_t> espnowMessage;
|
std::vector<espnow_message_t> espnowMessage;
|
||||||
|
|
||||||
const String firmware{"1.3"};
|
const String firmware{"1.31"};
|
||||||
|
|
||||||
String espnowNetName{"DEFAULT"};
|
String espnowNetName{"DEFAULT"};
|
||||||
|
|
||||||
@ -105,6 +105,9 @@ void setup()
|
|||||||
if (relayPin)
|
if (relayPin)
|
||||||
{
|
{
|
||||||
pinMode(relayPin, OUTPUT);
|
pinMode(relayPin, OUTPUT);
|
||||||
|
if (workMode)
|
||||||
|
digitalWrite(relayPin, relayPinType ? !relayStatus : relayStatus);
|
||||||
|
else
|
||||||
digitalWrite(relayPin, relayPinType ? relayStatus : !relayStatus);
|
digitalWrite(relayPin, relayPinType ? relayStatus : !relayStatus);
|
||||||
}
|
}
|
||||||
if (ledPin)
|
if (ledPin)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user