Needed to use a Pi Pico for one of my courses (which mandated circuitpython … for reasons unknown) and noticed that Adafruit’s documentation for using CircuitPython with something that wasn’t Mu Editor was not really up to par.
- Install CircuitPython by copying
.uf2file into the Pi Pico, which can be done by just plugging it into your computer python3 -m pip install circuitpython-stubsto get completions with your LSP of choice- Connect to serial port to view
prints and logging info
- find the appropriate port with
ls /dev/ttyACM* - connect using GNU
screenor whatever you like to use- e.x.
screen /dev/ttyACM0 115200 - If you get a permissions error, add
sudoor add yourself to the appropriate group
- e.x.