Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
Other
3.53k
stars
1.02k
forks
source link
RP2040 - ILI9163_DRIVER - Color swap doesn't work (TFT_RGB_ORDER) #2986
I had a ST7735_DRIVER instead of ILI9341_DRIVER because the ST7735 didn't work and it was because ST7735_INITB was selected instead of ST7735_GREENTAB2, now everything is working
Hi,
Everything works and is displayed correctly except the red and blue colors and as I already knew the problem I did the following:
Old:
define TFT_RGB_ORDER TFT_RGB // Colour order Red-Green-Blue
// #define TFT_RGB_ORDER TFT_BGR // Colour order Blue-Green-Red
New:
// #define TFT_RGB_ORDER TFT_RGB // Colour order Red-Green-Blue
define TFT_RGB_ORDER TFT_BGR // Colour order Blue-Green-Red
And it just doesn't do anything. I used the TFT library before and now in this update this problem happened
Arduino
Version 2.5.34
Board package raspberry Pi PICO/2040 by Earle F. Philhower, II
Procesor RP2040
TFT driver ILI9163_DRIVER
Interface type SPI
Config File in .TXT Setup60_RP2040_ILI9341.txt