How to reconnect wifi Arduino Mega and ESP8266 module after reset router

You need to stager these… the way they are some or all will converge (trying to run their respective functions at the exact same time) every 20, 60 seconds at least.

With a timeout timer… for an example of such use…

1 Like