Go Down

Topic: LCD letters mirrored (Read 34 times) previous topic - next topic

KacpiN

Feb 17, 2018, 06:08 pm Last Edit: Feb 17, 2018, 06:27 pm by KacpiN
Hello
So lately i came into posession of an LCD screen with ID= 0x5408.It works on  MCUFRIEND_kbv library but ive encountered the issue written as a subject; all letters on the screen seem to be inversed.I'm using arduino UNO btw.
Here is a link to a photo of screen where you can see the problem :
https://ibb.co/nCVwAn

david_prentice

#1
Feb 17, 2018, 06:50 pm Last Edit: Feb 17, 2018, 06:51 pm by david_prentice
Please edit MCUFRIEND_kbv.cpp:

Code: [Select]

    case 0x5408:
        _lcd_capable = 0 | REV_SCREEN | READ_BGR; //Red 2.4" thanks jorgenv, Ardlab_Gent


Hint.   Search for case 0x5408:

This fix was put in the current Beta about 2 days after the v2.9.7 Release  (what the Library Manager installs)
It will be in the next Release.

David.

p.s.  Alternatively,  just say tft.begin(0x9320); but you have to do this for every sketch.

KacpiN


Go Up