hi, can someone help me with my project? what happens to me is that I use Blynk.connect () as many of you saw them use, to reconnect when the internet goes down. My problem is that this function usually takes 9 seconds in the event that the connection is not made. and those 9 seconds for my program completely, neither inputs nor outputs work. below I share a part of my programming:
void loop(){
if (Blynk.connected()) {
Blynk.run();
} else if (bandera == 0) {
bandera = 1;
timer.setTimeout(30000L, []() {
bandera = 0;
Blynk.connect();
});
}
timer.run();
}