Loss of wifi connection, stop code

Stopping the code when disconnected is usually as simple as using Blynk.begin() as it is a blocking command… no connection no run.

Most want to do the opposite, keep code running and attempt reconnection… that uses Blynk.config() instead, as well as other various commands. There a many ways of doing such, search this forum, but here is one.

1 Like