Update WaterishOS-minimal2.0.ino

This commit is contained in:
Siwat Sirichai 2019-08-09 11:56:43 +07:00
parent 6c67393c51
commit f0be55580a
1 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,6 @@
#include <PubSubClient.h>
#include <MqttWildcard.h>
#include <PubSubClientTools.h>
#include <BearSSLHelpers.h>
#include <CertStoreBearSSL.h>
#include <ESP8266WiFi.h>
@ -64,7 +62,7 @@ void setup(){
int connectionattempt=0;
while(WiFi.status() != WL_CONNECTED)
{
//wait for it ... (Wait for Wifi Connection
//wait for it ... (Wait for Wifi Connection)
connectionattempt++;
delay(500);
if(connectionattempt>=20){