I have ST7735 160x128 Display. My display has Red and Blue swapped.
The option TFT_RGB_ORDER in User_Setup.h has no influence.
Is there a workaround, until (hopefully) the option works for this Display too?
The text was updated successfully, but these errors were encountered:
...but my workaround seems to get overwritten by any tft.setRotation(#)
I think I understand, that tft.setRotation writes to the same register. But it doesn't keep the other bits set there, i.e. 03 für RGB order - so resets them back.
These ST7725 displays come in a number of variants. The display setup used to be able to be determined by the color if the tab on the screen protection film but this is no longer the case. However the different variant options remain. I suspect that choosing a different color tab in the setup will correct the color swap.
In the longer term I will add making the RGB/BGR setting work for all displays to my future enhancement list.
Sorry, I forgot to tell, that I tried all of them. The only one, that has no tray pixels at the edges is ST7735_GREENTAB2, but this (and most or all of the others too) have swapped colors.
And it's a ST7725R, if that matters. I read somewhere, that there exists also a initR() function for these, but seemingly not in this library. I don't know anyway, if that matters.