By using simple i2c and SPI input/output expanders we have reduced the number of pins (only 2 pins are needed for i2c) while still making it easy to interface with the LCD. How to Connect an I2C LCD screen to Raspberry Pi Pico (Image credit: Tom's Hardware) 1.
Features 1. . Install the development library of Pico, open Arduino IDE, and click “Tools->Board->Boards Manager”; search the “Pico” and install the library “Arduino Mbed OS RP2040 Boards”.
This library allows an Arduino board to control LiquidCrystal displays (LCDs) based on the Hitachi HD44780 (or a compatible) chipset, which is found on most text-based LCDs. 16×2, 20×2, 20×4, etc. lcd_api. Switch to the pico_i2c_lcd_test.
. As long as the i2cdetect command shows the display is connected, you are good to go. You need to load 'esp8266_i2c_lcd' and 'lcd_api.