ESP32 / ESP8266 MicroPython: Automatic connection to WiFi

The objective of this post is to explain how to connect automatically to a WiFi network on MicroPython, without needing to insert all the individual commands in the prompt. The procedure was tested on both the ESP32 and the ESP8266. Introduction The objective of this post is to explain how to connect automatically to a …