Update WaterishOS-minimal2.0.ino

This commit is contained in:
Siwat Sirichai 2019-08-09 11:31:07 +07:00
parent 2355ebba9e
commit 2b10fe5e69
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ byte InteruptPinB=3;
byte arduinoInterrupt=1; byte arduinoInterrupt=1;
long tslr=0; long tslr=0;
WiFiClient espClient; WiFiClient espClient;
String nodename="devkit";
PubSubClient client(MQTT_SERVER, 1883, espClient); PubSubClient client(MQTT_SERVER, 1883, espClient);
PubSubClientTools mqtt(client); PubSubClientTools mqtt(client);
ThreadController threadControl = ThreadController(); ThreadController threadControl = ThreadController();