add commend to used PIN for trigger relais board
This commit is contained in:
parent
99f475ea26
commit
9e2d0014d3
@ -5,7 +5,7 @@
|
|||||||
const char* ssid = "foo";
|
const char* ssid = "foo";
|
||||||
const char* password = "bar";
|
const char* password = "bar";
|
||||||
//const int RELAIS = D8; //WEMOS D1 PIN D8
|
//const int RELAIS = D8; //WEMOS D1 PIN D8
|
||||||
const int RELAIS = D2;
|
const int RELAIS = D2; // "D2" PIN on WEMOS D1. On generic ESP 8266 boards like ESP-01 use PIN "3" => "GPIO2"
|
||||||
|
|
||||||
WiFiUDP ntpUDP;
|
WiFiUDP ntpUDP;
|
||||||
NTPClient timeClient(ntpUDP);
|
NTPClient timeClient(ntpUDP);
|
||||||
|
Loading…
Reference in New Issue
Block a user