My setup:
ESP-WROOM-32
ILI9341
XPT2046
16GB SDHC
Everything is wired up correctly, as you can see below, but something is wrong with the image... Application somehow thinks this is not a 320x240 display
(My camera is actually pretty bad, sorry)
This is my configuration in tftspi.h:
define DEFAULT_DISP_TYPE DISP_TYPE_ILI9341
define DEFAULT_TFT_DISPLAY_WIDTH 320
define DEFAULT_TFT_DISPLAY_HEIGHT 240
define DISP_COLOR_BITS_24 0x66
define DEFAULT_GAMMA_CURVE 0
define DEFAULT_SPI_CLOCK 30000000
define TFT_INVERT_ROTATION 1
define TFT_INVERT_ROTATION1 0
define TFT_INVERT_ROTATION2 1
define TFT_RGB_BGR 0x08
define USE_TOUCH TOUCH_TYPE_NONE
define PIN_NUM_MISO 19 // SPI MISO
define PIN_NUM_MOSI 23 // SPI MOSI
define PIN_NUM_CLK 18 // SPI CLOCK pin
define PIN_NUM_CS 5 // Display CS pin
define PIN_NUM_DC 13 // Display command/data pin
define PIN_NUM_TCS 35 // Touch screen CS pin (NOT used if USE_TOUCH=0)
define PIN_NUM_RST 22 // GPIO used for RESET control (#16)
define PIN_NUM_BCKL 0 // GPIO used for backlight control
define PIN_BCKL_ON 1 // GPIO value for backlight ON
define PIN_BCKL_OFF 0 // GPIO value for backlight OFF
My setup: ESP-WROOM-32 ILI9341 XPT2046 16GB SDHC Everything is wired up correctly, as you can see below, but something is wrong with the image... Application somehow thinks this is not a 320x240 display (My camera is actually pretty bad, sorry) This is my configuration in tftspi.h:
And there is the sdkconfig.h:
Can you please help me?