Рет қаралды 22,260
The standard SPI LCD panel drivers for MicroPython work, but they are slow and clumsy when you want any sort of complex animation or screen movement. Every pixel is drawn directly onto the LCD panel which is slow and greatly reduces the frame rate as more objects are animated.
In this video I'll show you how to rework the existing drivers to use a memory based frame buffer. We perform all or our drawing action on the lightning fast RAM buffer and then send a completed frame to the LCD in one operation.
This video starts by using a larger ILI9341 based LCD but then moves to a smaller resolution ST7789 based unit for the final version.
Make sure to check out my main project page at
bytesnbits.co.uk/pi-pico-spi-...
for links and code used in this project.
Get all the code for this project at
github.com/getis/pi-pico-spi-...