add Telemetry Constant
This commit is contained in:
parent
5dfab5613f
commit
26f8d37802
|
@ -114,12 +114,12 @@ void setup() {
|
|||
delay(2000);
|
||||
writelcd("Waterish OS a3.9","Reading Sensors");
|
||||
delay(1000);
|
||||
writelcd("Telemetry Control","siwatsystem.com");
|
||||
writelcd(" Telemetry Node","siwatsystem.com");
|
||||
if (client.connect("waterishos")) {
|
||||
writelcd("Telemetry Control","Connected");
|
||||
writelcd(" Telemetry Node","Connected");
|
||||
delay(1000);
|
||||
} else {
|
||||
writelcd("Telemetry Control"," Failed Offline");
|
||||
writelcd(" Telemetry Node"," Failed Offline");
|
||||
online=false;
|
||||
delay(3000);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
const char ssid[] = "";
|
||||
const char password[] = "";
|
||||
const char* telemetryhost = "";
|
||||
const char* telemetrykey = "";
|
||||
const int telemetryport = 1883;
|
||||
const char* telemetryuser = "";
|
||||
const byte InteruptPinA=1;
|
||||
const byte InteruptPinB=3;
|
||||
const byte arduinoInterrupt=1;
|
||||
|
|
Loading…
Reference in New Issue