Open Adrianotiger opened 2 years ago
Hi, yes, it is possible to add such support for future releases.
You may use ST7735 displays as an example, the actual library c++ files are automatically generated by Python script.
Did you try to run it? lcd_code_generator.py
Did you try to run it?
lcd_code_generator.py
No, sorry. Didn't know that there was this possibility. I will try it. Thanks.
Can you check the latest commit?
I have tested the current version and it's not fully working yet. Seems like the offset aren't right.
@GitMoDu Did you try to use setOffset
API? It is available for ST7789.
Thanks, that did the trick. Using setOffset() API directly on the driver had no effect, but through the getInterface() I was able to set the offsets to 0. Now most orientations fill the screen perfectly with no artifacts.
However, with -90 degree orientation seems like it's still not aligned.
Hi, I was trying to add the 240x240 display to the list, but I can't see how I should do it.
If I just add the template an offset to the image is set.
Probably I need to edit some data here:
But I don't know what. Is it possible to add the display in a future release? Thanks.