I want to reconnect to server after signal loses. @PeteKnight had said I need a FAIL SAFE - #26 by Lichtsignaal After that I looked them and it worked. Values change but it does not reconnect to server. How can I repair it? (Board Arduino Mega connecting internet with ESP8266)
void loop()
{
Blynk.run();
timer.run();
if (!Blynk.connected()) {
stopRoutine();
}
}
void stopRoutine()
{
digitalWrite(elfreni, LOW);
digitalWrite(motor1, LOW);
digitalWrite(motor2, LOW);
solfren.write(180);
sagfren.write(0);
}