This project provides a simple example for testing Raspberry Pi Pico 2 (RP2350) compilation and upload using the Arduino IDE, while implementing the Adafruit_ST7735 TFT display library.
To connect a TFT display to the Raspberry Pi Pico 2, use the following pin assignments:
#define TFT_CS 17 // Chip Select
#define TFT_RST 16 // Reset
#define TFT_DC 20 // Data/Command
#define TFT_MOSI 19 // Master Out Slave In (SDA)
#define TFT_SCLK 18 // Serial Clock (SCK)
-
Go to File -> Preferences in the Arduino IDE.
-
In the Additional Boards Manager URLs field, add the following URL:
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
- Open Tools -> Board -> Board Manager.
- Search for Raspberry Pi Pico and install it from the list.
- Press and hold the "BOOTSEL" button on your Pico2 board.
- While holding the button, connect the Pico to your computer's USB port.
- In the Arduino IDE, under Tools -> Board, select UF2_Board.
- Once the code is ready, click the Verify button to compile your project.
- Click Upload to flash the code to your Pico2.




