25-04-21, 12:20 -
(14-04-21, 19:11)baldur Wrote: Looking into this it seems that the luma.lcd drivers support the ST7789 display (see https://luma-lcd.readthedocs.io/en/lates...olor-model)
That means that the OLED.py could be an excellent template since luma.oled and luma.lcd APIs share similarities.
I've created a PIM_LCD.py module which I've tested on the hardware. Both the display and buttons work. I've opened a pull request to the original GitHub repo.
If anyone wishes to browse it on my github see the feature/LCDs branch https://github.com/bldrvnlw/SamplerBox/t...ature/LCDs.
In the end I just used the Pimoroni drivers (from https://pypi.org/project/ST7789/) not the luma as I originally suggested.
Thanks Hans for this project - it's just wat I needed for a personal low-cost practice sampler box!