Colour Swapping on Adafruit 3.5" TFT LCD HX8357D #1703
Replies: 3 comments
-
Which version of TFT_eSPI are you running? |
Beta Was this translation helpful? Give feedback.
-
It appears some TFT displays have the red and blue pixel elements swapped. This is rather odd because the default colour order is the same as the Adafruit libraries for that display. // If green and blue swapped on display then change the RGB colour order |
Beta Was this translation helpful? Give feedback.
-
I was running 2.4.42 of TFT_eSPI. I overwrote the installed library with your latest for Github. The colours are now correct, without even tweaking either of those RGB colour order settings. Success! I also observed that the Rotation requirement is different. Where I had to use 5 before, to avoid backwards text, the setting of 3 now gives me the same (proper result). Many thanks for all your great efforts! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an Adafruit 3.5" TFT LCD, based on the HX8357D driver. It is running nicely with TFT_eSPI over an SPI interface on an ESP32. I have the library set to the HXD8357D driver.
My only catch is trying to get the colours correct. I noted the suggestions regard invertDisplay and setSwapBytes, but SwapBytes did nothing, and invertDisplay gave a worse result. See attached images.
Wondering if anybody had come up with the correct settings for this display?
Thanks,
Allan

Beta Was this translation helpful? Give feedback.
All reactions