Bodmer / TFT_eSPI

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

Closed Srjames094 closed 7 months ago

Srjames094 commented 7 months ago

Hi,

  1. 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

  2. Arduino

  3. Version 2.5.34

  4. Board package raspberry Pi PICO/2040 by Earle F. Philhower, II

  5. Procesor RP2040

  6. TFT driver ILI9163_DRIVER

  7. Interface type SPI

Config File in .TXT Setup60_RP2040_ILI9341.txt

Srjames094 commented 7 months ago

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