Getting Started With RPi Pico W Using C
Getting Started With RPi Pico W Using C
Windows
Everything same as for RPi Pico setup, only difference at Section 3(Start a new project).
The Raspberry Pi Pico series is a range of tiny, fast, and versatile boards built using RP2040,
the flagship microcontroller chip designed by Raspberry Pi in the UK.
• Dual-core Arm Cortex M0+ processor, flexible clock running up to 133 MHz
• 264kB of SRAM, and 2MB of on-board flash memory
• USB 1.1 with device and host support
• Low-power sleep and dormant modes
• Drag-and-drop programming using mass storage over USB
• 26 × multi-function GPIO(General Purpose input-output) pins
• 2 × SPI(Serial Peripheral Interface), 2 × I2C(inter integragted Circuits), 2 × UART(Universal
Asynchronous Receiver/Transmitter), 3 × 12-bit ADC, 16 × controllable PWM channels
• 8 × Programmable I/O (PIO) state machines for custom peripheral support
Overview
Pinout
Getting Started
RPi Pico C/C++ SDK Documentation
https://datasheets.raspberrypi.com/picow/connecting-to-the-internet-with-pico-w.pdf
1. Setup
To start working with the microcontroller, we can use
After the wizard has completed installation, it will prompt you whether it should display a
tutorial, and optionally clone, check both options and finish.
To re-open the examples repository later, you can open the copy installed at
(default)`C:\Users\<user>\Documents\Pico-<version>\pico-examples`.
int main() {
stdio_init_all();
if (cyw43_arch_init()) {
printf("Wi-Fi init failed");
Following are the component that needed to be configured separately, if One Click Installer is not
working.
For manually installing you can refer section 9.2.2(Alternative Manual Installation) of this or
follow this article.
5. Extra materials
1. https://github.com/raspberrypi/pico-examples
2. https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf
3. https://datasheets.raspberrypi.com/picow/connecting-to-the-internet-with-pico-w.pdf