This project creates a base library for the st7789 display from the waveshare and using the board lcd 1.44inch lcd hat
try to port the game Doom to the RP2040 using the Waveshare rp2040 pi zero and the waveshare 128x128 st7789 LCD display.
The first example is based on Doom Pico (a port of Doom Nano) from Gualor.
The ST7735S is a 132x162 pixel LCD controller, but the pixel of the 1.44-inch LCD HAT is 128x128. So we have made some processing on the display: the horizontal direction starts from the second pixel to guarantee the location of RAM in the LCD is consistent with the actual location at the same time.
The Joystick left is not GPIO5 but GPIO15