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.73k stars 1.07k forks source link

Mixed colors on ST7735 #1176

Closed WojakGra closed 3 years ago

WojakGra commented 3 years ago

As i decribed colors are mixed at screen. Black is showing as black but orange is showing as blue.

Bodmer commented 3 years ago

Typically this happens if the wrong "tab" colour option has been chosen. Originally the ST7735 variants were identified by the colour of the tab on the screen protection film. This is no longer the case so you need to try the other options.

WojakGra commented 3 years ago

What do you mean by other options ?

Bodmer commented 3 years ago

These options are in the setup file here: https://github.com/Bodmer/TFT_eSPI/blob/master/User_Setup.h#L66

And here: https://github.com/Bodmer/TFT_eSPI/blob/master/User_Setup.h#L86

WojakGra commented 3 years ago

Ok, thank you. The "#define TFT_RGB_ORDER TFT_BGR" worked for me :)