moononournation / Arduino_GFX

Arduino GFX developing for various color displays and various data bus interfaces
Other
761 stars 151 forks source link

Problems with using setRotation #492

Closed anla-xu closed 4 weeks ago

anla-xu commented 4 weeks ago

Hello, when I use Arduino_ST7789 to drive a 128X128 screen, since the screen is fixed and rotated 180° counterclockwise, I output a string on the screen, but the image is inverted. I want the string to be rotated 180° to display normally. After using setRotation(2), I don't get what I want. How can I solve this problem? Thank you

anla-xu commented 4 weeks ago

img like this

moononournation commented 4 weeks ago

st7789 did not have 128x128 display, wild guess the display is st7735

anla-xu commented 4 weeks ago

Is it the wrong screen type that causes the screen flipping abnormality?

anla-xu commented 4 weeks ago

It is indeed the abnormality caused by the wrong IC. After changing to the corresponding IC driver library, it can be displayed normally. Thank you.