The files have been modified to work with the 1.69inch LCD Module from Waveshare.
This repo is just a fork of the projects created by Pimoroni developers.
- mopidy-pidi - Mopidy plugin host or pidi display
- pidi-plugins - Lower level libraries used to draw to the screen
- st7789-python - Library to control the ST7789
I also used sonocottas' fork of the above libraries aimed at making non-square ST7789 based LCD's more compatible with Orange Pi.
Please support and look through the original source code. The original authors deserve your support. I truthfully would've spent a lot longer getting my streamer to workif I needed to write this stack from scratch.
This stack is mostly the same as sonocottas' OrangePi fork. There are some differences in the ST7789 file regarding the screen initalisation. The code I based this off of was the code provided by waveshare in their demo for the LCD and verifying that the LCD commands were correct from looking up the ST7789v2 spec sheet.
I've further added some extra commands into the above file that may be useful for people wanting to more deeply hack their screen.
The other difference is within the pidi_display_pil's __init__
file. The "Artist" section of the screen
buffer was mostly off the top of the screen. I adjusted the canvas margin multiplier so that it looks and
functions correctly.