EasyManuals Logo

Raspberry Pi Pico User Manual

Raspberry Pi Pico
77 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #39 background imageLoading...
Page #39 background image
9.1.4. Saying "Hello World"
As we did previously in
Chapter 4 you can build the Hello World example with stdio routed either to USB CDC (Serial) or
to UART0 on pins GP0 and GP1. No driver installation is necessary if you’re building with USB CDC as the target output,
as it’s a class-compliant device. You just need to use a Terminal program, e.g.
Serial or similar, to connect to the USB
serial port.
9.1.4.1. UART output
Alternatively if you want to you want to connect to the Raspberry Pi Pico standard UART to see the output you will need
to connect your Raspberry Pi Pico to your Mac using a USB to UART Serial converter, for example a SparkFun FTDI
Basic
board, see Figure 14.
Figure 14. Sparkfun
FTDI Basic adaptor
connected to the
Raspberry Pi Pico
So long as you’re using a recent version of macOS like Catalina, the drivers should already be loaded. Otherwise see the
manufacturers' website for
FTDI Chip Drivers.
Then you should use a Terminal program, e.g.
Serial or similar to connect to the serial port. Serial also includes driver
support
.
9.2. Building on MS Windows
Installing the toolchain on Microsoft Windows 10 is somewhat different to other platforms. However once installed,
building code for the RP2040 is somewhat similar.
TIP
While Raspberry Pi does not directly support it there is a third-party installer script for Windows 10 that is roughly
equivalent of the
pico-setup.sh script for Raspberry Pi (see Chapter 1). More details at https://github.com/ndabas/
pico-setup-windows
.
Getting started with Raspberry Pi Pico
9.2. Building on MS Windows 38

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Raspberry Pi Pico and is the answer not in the manual?

Raspberry Pi Pico Specifications

General IconGeneral
MicrocontrollerRP2040
Clock Speed133 MHz
SRAM264 KB
Flash Memory2 MB
GPIO Pins26
Operating Temperature-20°C to +85°C
ArchitectureARM Cortex-M0+ (dual-core)
InterfacesI2C, SPI, UART, PWM
Operating Voltage1.8–5.5 V
Dimensions51 mm × 21 mm

Related product manuals