“Shortcut Keyboard powered by Seeed Studio XIAO RP2040 featuring 4 mechanical switches and a 1.47 inch LCD Display.
The SEEED Xiao series features a small footprint and many microcontrollers for various applications, all at low prices. This is one of the reasons why I use them in many of my projects. When I heard about the SEEED Fusion Keyboard design contest, it was clear to me that I wanted to participate. Since I’ve been playing around with LCD displays a lot lately, I wanted to use a display I had lying around. It was a 1.47 inch LCD display from Waveshare with a resolution of 172x320. I had never used this display in combination with the RP2040. So the first step was to hook up the display and get it working. The display came with a ST7789V3 driver. Fortunately, the TFT_ESPI library supported this driver. The only thing I had to do was to change the pinout definition and select the correct display driver. In short: Open the Arduino TFT_eSPI Library folder and navigate to the “User_Setups” folder.
Even though the file says ESP32, it will also work with the RP2040. Save the file and navigate back to the TFT_eSPI folder. Then open User_Setup_Select. Then comment out the
#include <User_Setup.h> line and add
#include <User_Setups/Setup72_ESP32_ST7789_172x320.h>. Save the file (make sure that all the other User Setups are commented out). After that, the display worked for me.”