In this tutorial, you learned how to use WiFiMulti with the ESP32 to add a list of networks that the ESP32 can connect to. It will connect to the network with the strongest signal (RSSI). If it loses connection
= WL_CONNECTED) { delay(1000); // Delay 1 second until connected Serial.println("Connecting to WiFi..."); } // Connect to server Serial.println("Connected to WiFi"); delay(1000); // Delay 1 second before connecting to server // Connect to server using ESP8266's connect()...