You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the ESP32 with an OLED display build on by TTGO. It has a pretty standard controller except the pixels are offset to get to location 0.0 (They are actually 52.40)
I added code to offset the X and Y but now the colours seem inverted. Selecting TFT_BLACK results in writing in WHITE.
I have tried using the function TFT_invertDisplay(INVERT_ON) but that does not seem to do anything. Is there another way to correct the colours ?
Hi there,
I got the ESP32 with an OLED display build on by TTGO. It has a pretty standard controller except the pixels are offset to get to location 0.0 (They are actually 52.40)
I added code to offset the X and Y but now the colours seem inverted. Selecting TFT_BLACK results in writing in WHITE.
I have tried using the function TFT_invertDisplay(INVERT_ON) but that does not seem to do anything. Is there another way to correct the colours ?
Richard
Image of board..
https://i.ebayimg.com/00/s/MTAwMVgxMDAx/z/V4QAAOSwdUxddzs6/$_10.JPG?set_id=880000500F
Added code for _offsets .. its not generic as this is an experiment.
RichardPar@954110c
=========== BASIC CONFIG ====================
#define DEFAULT_DISP_TYPE DISP_TYPE_ST7789V
#define DEFAULT_TFT_DISPLAY_WIDTH 188-52
#define DEFAULT_TFT_DISPLAY_HEIGHT 280-40
#define DISP_COLOR_BITS_24 0x66
#define DEFAULT_GAMMA_CURVE 1
#define DEFAULT_SPI_CLOCK 26000000
#define TFT_INVERT_ROTATION 0
#define TFT_INVERT_ROTATION1 1
#define TFT_RGB_BGR 0x00
The text was updated successfully, but these errors were encountered: