Get Started with Raspberry Pi Pico and C/C++

Scroll down

The Raspberry Pi Pico is the first microcontroller from Raspberry Pi. A tiny yet powerful board. This guide will get you flashing the LED using C/C++ on the Pico in no time!

Download UF2

  • Go here and click on the Getting started with C/C++ tab and download the UF2 file in the Blink an LED box.
Raspberry Pi Pico get started

Connect the Pico to your computer

  • Connect the micro USB cable to your host computer.
  • Connect the other end of the micro USB cable to the Pico while you press and hold the BOOTSEL button on the Pico.
Raspberry Pi Pico Bootsel button
  • Release the button once the cable is connected.

A disk volume called RPI-RP2 will appear on your computer.

Install UF2

  • Open RPI-RP2 on your computer by double-clicking it.
  • Drag and drop the blink.uf2 file that you downloaded earlier.

RPI-RP2 will unmount and the LED on the Pico will start blinking.

You’ve just uploaded the first bit of code to your Pico!

raspberry pi pico blinking led

Further reading

You can find more information on creating code for the Pico here.

Location

Please select an option to see content specific to your location and shop online.

Browse the US site

Privacy

Our website uses cookies and similar technologies to provide you with a better service while searching or placing an order, for analytical purposes and to personalise our advertising. You can change your cookie settings by reading our cookie policy. Otherwise, we’ll assume you’re OK with our use of cookies.