The ESP32 MicroPython firmware behaves a little bit different from the firmware for the STM32 processors. When the ESP32 development board is plugged into a computer, it enumerates and provides the familiar serial REPL that we have all come to know and love. However, the board does not enumerate as a mass storage device. This leaves us developers with two options for loading our Python scripts:
- Use the raw REPL mode
- Use WebREPL
In this section, I'm going to show you how we can go about setting up WebREPL.
WebREPL is exactly what it sounds like—an HTML-based web page that allows a developer to interact with the ESP32 MicroPython kernel. WebREPL allows a developer to connect to the ESP32 Wi-Fi and then, through the web ...