wdalmut / rp2040-st7789

MIT License
1 stars 0 forks source link

RP2040 display ST7789

This project creates a base library for the st7789 display from the waveshare and using the board lcd 1.44inch lcd hat

lcd display

Games

try to port the game Doom to the RP2040 using the Waveshare rp2040 pi zero and the waveshare 128x128 st7789 LCD display.

Hardware

Tiny Doom

The first example is based on Doom Pico (a port of Doom Nano) from Gualor.

doom

Notes

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