To install CircuitPython to nanoESP32-S2 (run on Raspberry Pi), refer to my another post: Hello Raspberry Pi - Install CircuitPython to nanoESP32-S2, on Raspberry Pi.
How to run code.py on nanoESP32-S2/CircuitPython, in Mu editor:
When CircuitPython finishes installing, or you plug a CircuitPython board into your computer with CircuitPython already installed, the board shows up on your computer as a USB drive called CIRCUITPY.
The CIRCUITPY drive is where your code and the necessary libraries and files will live. You can edit your code directly on this drive and when you save, it will run automatically. When you create and edit code, you'll save your code in a code.py file located on the CIRCUITPY drive.
CircuitPython looks for code.py and runs the contents of the file automatically when the board starts up, reloads, or when you save changes to the file.
This video show how to run code.py on nanoESP32-S2/CircuitPython, in Mu editor:
More related to CircuitPython/ESP32-S2:
Updated for CircuitPython 7
No comments:
Post a Comment