Program the Pico Explorer with Arduino IDE

You can program the Raspberry Pi PICO which is used in “Pico Explorer” and several
other boards

In the Arduino IDE go to Tools >board>board manager
Search for Raspberry Pi PICO, install ”Raspberry Pi PICO/RP2040” by Earle F. Philhouser

Select board >Raspberry Pi RP2040 boards>Raspberry Pi Pico
Next plug PICO into USB while holding BOOT Button down , release after 2 seconds
Next go to FILE>Examples>01.Basics>Blink which will load blink script
Hit Upload arrow it will install Blink, system LED will start to blink
After first Upload a port will be assigned
For all next programs you want to Upload you will have to select a port from Tools>Port
From now on the PICO can be treated as an Arduino board with an assigned port
To get the screen working on the “pico explorer” you must install two library files
“Adafruit_GFX” and “Adafruit ST7735 and ST7789 Library”
Go to File>Examples>Adafruit ST7735 and ST7789 Library>graphictest
Change values to

#define TFT_CS 17
#define TFT_RST -1 // Or set to -1 and connect to Arduino RESET pin
#define TFT_DC 16
#define TFT_MOSI 19 // Data out
#define TFT_SCLK 18 // Clock out
// OPTION 1 (recommended) is to use the HARDWARE SPI // For 1.14", 1.3", 1.54", 1.69", and 2.0" TFT with ST7789:
Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);

// OPTION 2 lets you interface the display using ANY TWO or THREE PINS,
// OR for the ST7789-based displays, we will use this call
//Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_MOSI, TFT_SCLK, TFT_RST);
Either one will work CHOSE ONLY ONE
void setup(void) {

// Use this initializer if using a 1.54" 240x240 TFT:
tft.init(240, 240); // Init ST7789 240x240

// SPI speed defaults to SPI_DEFAULT_FREQ defined in the library
// Note that speed allowable depends on chip and quality of wiring
// may end up with a black screen some times, or all the time.
YOUR BOARD WILL NOW WORK Just program it like other Arduino boards with a display screen
I will answer any questions about this use of the PICO

Thanks for that, so that’s C++?
Adafruit has a long list of resources for Arduino and other micro controllers. I’ve run Circuit Python on one or two of my PICOs. Haven’t gone the Arduino IDE route just yet though.

I have several Breakout Garden setups, Pi and PICO. And I have the Breakout version of the Explorer screen. It’s nice to be able to use the same breakouts on a PI setup or PICO setup.

Thanks for useful information. It worked for me after I commented out,

Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);

and uncommented

Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_MOSI, TFT_SCLK, TFT_RST);