TFT_ST7735 icon indicating copy to clipboard operation
TFT_ST7735 copied to clipboard

another 80x160 display, not supported by current TAB_COLOR defines

Open JeffCalwood opened this issue 4 years ago • 1 comments

It seems there is yet another version of 80x160 TFT, which doesn't seem to be supported by the current TAB_COLOR defines, here https://www.aliexpress.com/item/4000018872259.html . INITR_GREENTAB2 seems to eliminate all boundary pixel issues, but at a minimum colors are inverted. I used tft.invertDisplay(true); for now. The RLE font demo suggest I should then see a brown background somewhere, but at best I see a dark grey. So maybe there are also gamma setting changes required ...

JeffCalwood avatar Oct 05 '20 11:10 JeffCalwood

(in case someone needs to get this display running) for now I kludged this by modifying setRotation in the library. BTW, setRotation() corrupts the display width and height if passed via constructor ... so use the #defines ST7735_TFTHEIGHT and WIDTH instead ... anyhow, for switch(rotation) case 1, if modified to writedata(MADCTL_MY | MADCTL_MV | MADCTL_BGR); // BGR !! colstart = 1; rowstart = 2+24; // +24 !! the display looks good and colors look alright.

JeffCalwood avatar Oct 05 '20 21:10 JeffCalwood