2024-06-20, 06:37 AM
(2024-06-19, 08:00 PM)seandepagnier Wrote: I have written my code so that the resolution of the lcd does not matter. For this reason it is a bit different from other libraries and ugfx only supports functions that are not specific to resolution.
What could be done, is to write a ugfx driver to use this library which supports more lcds using it as another layer rather than directly talking to spi.
I can follow that, it might not be nescessary for now. I had a hard time finding a jlx, that‘s why I got this display. And I have it working now by changing the sequence of the refresh part of the jlx in ugfx. It can still be improved, since the refresh frequency doesn‘t seem to match the display correctly yet.
First I‘ll try to make a seperate ssd1309 class though, so the code for the jlx is back to it‘s original state and the ssd1309 is added.
I‘ll probably leave the e-paper be for now, since the contrast on the ssd1309 seems good enough for bright days and I want to finish my build
![Big Grin Big Grin](https://forum.openmarine.net/images/smilies/biggrin.png)