Hello,
I know that the function blynk.begin is blocking, but for example this sketch:
void loop(){
timer.run();
if (Blynk.connected()) { Blynk.run(); }
else if (ReCnctFlag == 0) {
ReCnctFlag = 1;
timer.setTimeout(30000L, []() {ReCnctFlag = 0;
if (Blynk.connected()) {}
else Blynk.begin(auth, server_ip, 8080, arduino_ip, dns_ip, gateway_ip, subnet_mask, arduino_mac);});
}
blinkled();
}
when blynk.begin executes and the server is offline, the code is blocked until the server goes online again?
so the BLINKLED function isn’t called?
If the server is offline for 30min, the fuction BLINKLED never works?