Does anyone know where I can find the files for the display drivers. Screen https://github.com/microsoft/pxt-common-packages/blob/master/libs/screen---st7735/screen.cpp includes ILI9341.h, but I can’t find it anywhere. I would need to research the exact initialization sequence so I can experiment with other displays.
I finally got it working ![]()
Arcade is running on this device with ST7789 https://circuitpython.org/board/pajenicko_picopad/
ah cool new hardware is always exciting
I found out that this CODAL project is used for the display drivers.
The binary patcher replaces the ILI9341 initialization sequence with a minimal ST7789 initialization sequence.
A color palette adjustment was also needed because of a likely bug in the ST7735 driver, which caused the image to be displayed with green or purple tints. As a workaround, the patcher uses a hardcoded LUT table with the default palette.
The CF2 configuration for the PicoPad is included directly in the patcher as well. This part exposed the RP2040-E14 erratum, which caused issues when generating a valid all containing UF2 file. The workaround was to fill the CF2 space with FF bytes.
The first “manual” version was written in Python. Later, with the help of AI, it was rewritten into a cleaner JavaScript version that runs directly in the browser.
The patcher is available here:
Sorry, it is currently only for PicoPad and in the Czech language. If there is interest, I can extend it or describe it in more detail.
I’m currently working on a “launcher” that would allow me to upload the original UF2s to an SD card and patch and flash it directly from the device.
