Update WaterishOS-minimal2.0.ino
This commit is contained in:
parent
6c67393c51
commit
f0be55580a
|
@ -1,8 +1,6 @@
|
||||||
#include <PubSubClient.h>
|
#include <PubSubClient.h>
|
||||||
|
|
||||||
#include <MqttWildcard.h>
|
#include <MqttWildcard.h>
|
||||||
#include <PubSubClientTools.h>
|
#include <PubSubClientTools.h>
|
||||||
|
|
||||||
#include <BearSSLHelpers.h>
|
#include <BearSSLHelpers.h>
|
||||||
#include <CertStoreBearSSL.h>
|
#include <CertStoreBearSSL.h>
|
||||||
#include <ESP8266WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
|
@ -64,7 +62,7 @@ void setup(){
|
||||||
int connectionattempt=0;
|
int connectionattempt=0;
|
||||||
while(WiFi.status() != WL_CONNECTED)
|
while(WiFi.status() != WL_CONNECTED)
|
||||||
{
|
{
|
||||||
//wait for it ... (Wait for Wifi Connection
|
//wait for it ... (Wait for Wifi Connection)
|
||||||
connectionattempt++;
|
connectionattempt++;
|
||||||
delay(500);
|
delay(500);
|
||||||
if(connectionattempt>=20){
|
if(connectionattempt>=20){
|
||||||
|
|
Loading…
Reference in New Issue