From 171b0dba8f8c702aca0370d400a2aaa7f7a364ab Mon Sep 17 00:00:00 2001 From: prenticedavid Date: Fri, 7 Jul 2017 18:10:28 +0100 Subject: [PATCH] readPixel and invertDisplay for 9225 --- MCUFRIEND_kbv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCUFRIEND_kbv.cpp b/MCUFRIEND_kbv.cpp index 55d1e4f..444624c 100644 --- a/MCUFRIEND_kbv.cpp +++ b/MCUFRIEND_kbv.cpp @@ -1895,7 +1895,7 @@ case 0x4532: // thanks Leodino #define ILI9225C_INVON 0x21 case 0x9225: - _lcd_capable = REV_SCREEN; //thanks tongbajiel + _lcd_capable = REV_SCREEN | READ_BGR; //thanks tongbajiel static const uint16_t ILI9225_regValues[] PROGMEM = { /* Start Initial Sequence */ /* Set SS bit and direction output from S528 to S1 */