Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By tontito
#15588 i can`t resolve problem. 2.4" ili9341 spi device color problem.

black back ground not working always white screen and

RED = CYAN
CYAN = RED
WHITE = BLACK
..... all colors incorrect

read all pdf and documentation. not solve problem.
User avatar
By Blurfl
#15701 Is it possible the color values received by the ILI9341 are bit-inverted? White should be 0xFFFF, Black 0X0000, Red 0xF800 and Cyan 0x07FF.

ILI9341_WHITE 0xFFFF 255, 255, 255
ILI9341_BLACK 0x0000 0, 0, 0
ILI9341_RED 0xF800 255, 0, 0
ILI9341_CYAN 0x07FF 0, 255, 255
User avatar
By tontito
#15716
Blurfl wrote:Is it possible the color values received by the ILI9341 are bit-inverted? White should be 0xFFFF, Black 0X0000, Red 0xF800 and Cyan 0x07FF.

ILI9341_WHITE 0xFFFF 255, 255, 255
ILI9341_BLACK 0x0000 0, 0, 0
ILI9341_RED 0xF800 255, 0, 0
ILI9341_CYAN 0x07FF 0, 255, 255


All Library same color.
https://github.com/esp8266/Arduino/tree ... it_ILI9341
https://github.com/Perfer/esp8266_ili9341
https://github.com/Sermus/ESP8266_Adafruit_ILI9341

// Color definitions
#define ILI9341_BLACK 0x0000
#define ILI9341_BLUE 0x001F
#define ILI9341_RED 0xF800
#define ILI9341_GREEN 0x07E0
#define ILI9341_CYAN 0x07FF
#define ILI9341_MAGENTA 0xF81F
#define ILI9341_YELLOW 0xFFE0
#define ILI9341_WHITE 0xFFFF

and screen always flicker