loboris / ESP32_TFT_library

Full featured TFT library for ESP32 with demo application
553 stars 219 forks source link

Display on ESP32-WROVER-KIT v4.1 is reversed! #56

Closed doingnz closed 5 years ago

doingnz commented 5 years ago

I have selected the WROVER option in menuconfig. It builds and flashes. Appears to run fine with the exception all items on screen are mirrored (as if looking through the back of the LCD!).

20180922_195710

Note this is V4.1 of the ESP32-WROVER-KIT.

Suggestions?

doingnz commented 5 years ago

works correctly with these settings:

#if CONFIG_EXAMPLE_DISPLAY_TYPE == 1

// ** Set the correct configuration for ESP32-WROVER-KIT v3
// --------------------------------------------------------
#define DEFAULT_DISP_TYPE           DISP_TYPE_ST7789V
#define DEFAULT_TFT_DISPLAY_WIDTH   240
#define DEFAULT_TFT_DISPLAY_HEIGHT  320
#define DISP_COLOR_BITS_24          0x66
#define DEFAULT_GAMMA_CURVE         0
#define DEFAULT_SPI_CLOCK           26000000
#define TFT_INVERT_ROTATION         0
#define TFT_INVERT_ROTATION1        0
#define TFT_RGB_BGR                 0x08