loboris / ESP32_TFT_library

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

Touch demo not working #75

Open pratikmokashi opened 4 years ago

pratikmokashi commented 4 years ago

Demo does work but the touch demo wont work! config-

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 26000000

define TFT_INVERT_ROTATION 0

define TFT_INVERT_ROTATION1 0

define TFT_INVERT_ROTATION2 1 // Adapte M5Stack TFT

define TFT_RGB_BGR 0x08

define USE_TOUCH 1

define PIN_NUM_MISO 19

define PIN_NUM_MOSI 23

define PIN_NUM_CLK 18

define PIN_NUM_CS 14

define PIN_NUM_DC 27

define PIN_NUM_TCS 25

define PIN_NUM_RST 33

define PIN_NUM_BCKL 32

define PIN_BCKL_ON 1

define PIN_BCKL_OFF 0

the touch is not detect and touch demo func wont do anything