To open up our first example sketch, go to File > Examples > 01.Basics > Blink
00:00
You can choose to leave the LED_BUILTIN in the sketch. Alternatively, you can try to change all instances of LED_BUILTIN to 25 in the sketch, since the built-in LED is connected to GPIO25 on the Pico. Either way, when we tested it, this will get the built-in LED on the Pico blinking!
00:00
Make sure you've got Raspberry Pi Pico selected under Boards. Under Ports, make sure you've also got the correct COM port selected for the Raspberry Pi Pico.
00:00
Now if you've got the Pico already connected to the computer via a micro USB cable, unplug it. Before uploading the sketch, you will need to press and hold onto the BOOTSEL button on the Pico. Press and hold this button and then connect the Pico to the computer. Continue holding down onto this button. 
00:00
Click on the Verify button to compile the sketch, while holding down the BOOTSEL button. Continue holding that button!
00:00
Finally, click on the Upload button with BOOTSEL still pressed. After it has been successfully uploaded, the IDE should state 'Done uploading.' Release the button and re-connect the Pico, and its built-in LED will be blinking!
00:00
main.py
xxx
Terminal
screen /dev/tty.usbmodem0000000000001 115200
>>> led = Pin(25, Pin.OUT)
>>> from machine import Pin
Breadboard
Breadboard
Mark
© 2022 Chick Commerce Pty Ltd