I'll be using a Raspberry Pi Pico W, a micro USB cable, an Intel Mac Book Pro and Visual Studio Code (assumed to be installed), and the Pico-W-Go extension for VS Code.
- Install micro python on Pico using instructions on raspberrypi.com.
- Install Pico-W-Go extension for VS Code.
Select the main.py
file and run "Pico-W-Go > Upload current file only" command via Command+Shift+P
.
The Pico-W-Go extension makes it easy to open a REPL on the Pico. There is also a more technical explanation of how to open a REPL without such an extension.
How to run the Pico alone: https://projects.raspberrypi.org/en/projects/introduction-to-the-pico/12 (done)
How to connect to WiFi and read temp sensor: https://projects.raspberrypi.org/en/projects/get-started-pico-w/2