You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi and thank you for sharing the library.
Can I use this library for 2.8 inch lcd?
if yes, what changes I have make in the code?
If no, why?
Is there any difference between st7789 and st7789v and st7789h2?
The text was updated successfully, but these errors were encountered:
I don't know the details about your 2.8 inch LCD...If its driver is ST7789, of course you can use it. All you need to do is change the code to adapt it's resolution for your LCD.
The most significant parameter is:
#defineST7789_WIDTH 240
#defineST7789_HEIGHT 240
And if your screen displays incorrectly, you may also change the parameter
#defineST7789_ROTATION 1
//#define ST7789_ROTATION 1//#define ST7789_ROTATION 2//#define ST7789_ROTATION 3/* And these two below in each rotation settings*/#defineX_SHIFT 53
#defineY_SHIFT 40
I don't have a 2.8 inch LCD so i haven't run any tests on such a LCD.If you have some trouble during the developing, you may refer to ST7789's datasheet:https://www.waveshare.com/w/upload/a/ae/ST7789_Datasheet.pdf
And I didn't find any differences between ST7789/V/H2, at least in technical parameters, they are about the same. :)
Hi and thank you for sharing the library.
Can I use this library for 2.8 inch lcd?
if yes, what changes I have make in the code?
If no, why?
Is there any difference between st7789 and st7789v and st7789h2?
The text was updated successfully, but these errors were encountered: