SunFounder ESP32 Starter Kit
run the contents of the script area - “EDITOR_CONTENT”.
• If there is any message after the third line, it is usually a message that you tell MicroPython to
print, or an error message for the code.
5. Stop running
To stop the running code, click the Stop/Restart backend button. The %RUN -c $EDI-
TOR_CONTENT command will disappear after stopping.
6. Save or save as
You can save changes made to the open example by pressing Ctrl+S or clicking the Save button on
Thonny.
The code can be saved as a separate file within the MicroPython drive(ESP32) by clicking on File
-> Save As.
Select MicroPython drive.
274 Chapter 3. For MicroPython User