Micropython

From Wildsong
Revision as of 15:11, 5 August 2023 by Brian Wilson (talk | contribs)
Jump to navigationJump to search

Using VSCODE

NOT YET!

I'm looking for the right Micropython extension for VSCODE now. I tried many. For now I am using Mu. Maybe Seeed ArduPy works? Nope, there is no ArduPy compatible UF2 at this time.

Maybe Bao Phan's Micropython IDE will work? It was built for MacOS and does not run currently on Windows.

What about MicroPico from paulober? I know it's written for the Pico so I will try it first with the RP2040. Bah, can't find its serial ports and settings file is weird.

Micropython-REPLink by SWC-Fablab?? Also requires a REPL shell, suggests MPFshell.

Imports

I think you have to copy the code file onto the board somehow before you can reference it with "import". It has to be on sys.path.

Since there is no operating system running, there is no filesystem per se, just internal and sd card. We don't have an SD card for the ESP32.

SenseCap D1 Indicator

ESP32-S3

See the Seeed Studio page for installation of the binary. Or use Mu, it's built in.

There are no LEDs to blink here. I should be able to mess around with WiFI and BT since they are built in to the ESP.

The button is on GPIO38.

LVGL - has to be imported, so I need a code file for it.

RP2040