sumotoy / RA8875

A library for RAiO RA8875 display driver for Teensy3.x or LC/Arduino's/Energia/Spark
GNU General Public License v3.0
79 stars 55 forks source link

Font Rotation in RA8875 #142

Open 12sameera opened 5 years ago

12sameera commented 5 years ago

Hi All, I am developing a HMI application using RA8875 based touch panel. When I was trying to orientation of FONTs to 90 degrees I encountered a problem.

Ex: I tried to write "Data" in portrait mode setting the bit4 in FNCR1 register. Then the font is rotated 90 deg. But it is mirrored. Then I tried to change bit3 of DPCR register and change the horizontal scan direction. Then the entire content within the screen is mirrored regardless of the size of the active window.

Can anyone help me to solve this issue?

momosh13 commented 4 years ago

Hi I have a same problem, tft.setRotation(2); works fine tft.setRotation(1); and (3) not. Please, help need it. Thank you in advance.