Search found 1 match

by reivax2
Sat May 04, 2019 6:14 pm
Forum: General Discussion
Topic: Esp not connecting to wifi after some days
Replies: 14
Views: 24411

Re: Esp not connecting to wifi after some days

WiFi.begin(ssid, password);
int i=0;
while (WiFi.status() != WL_CONNECTED && i++<=10)
{
delay(1000);
i=i+1;
if (i>11)
{Serial.print("I don´t connect......");
ESP.restart();
}