Hello all,
I am trying to set up an Arduino Nano ESP32 with this TFT Display and am having some issues with the touch screen.
Using the TFT_eSPI library I am able to get the screen to display; the "Colour_Test" example sketch works as expected. However I am not able to get any reading from the touch screen when using the "Test_Touch_Controller" example sketch.
I have wired the TFT pins to the Arduino pins as such:
- VCC => 3.3V
- LED => 3.3V
- GND => GND
- RESET => D7
- DC/RS => D8
- CS => D9
- T_CS => D10
- SD0<MISO> => D12
- T_DO => D12
- SDI<MOSI> => D11
- T_DIN => D11
- SCK => D13
- T_CLK => D13
- T_IRQ is left unused.
My User_Setup.h looks like this:
TFT_eSPI ver = 2.5.34
Processor = ESP32
Frequency = 240MHz
Transactions = Yes
Interface = SPI
Display driver = 9488
Display width = 320
Display height = 480
MOSI = GPIO 38
MISO = GPIO 47
SCK = GPIO 48
TFT_CS = GPIO 18
TFT_DC = GPIO 17
TFT_RST = GPIO 10
TOUCH_CS = GPIO 21
Font GLCD loaded
Font 2 loaded
Font 4 loaded
Font 6 loaded
Font 7 loaded
Font 8 loaded
Smooth font enabled
Display SPI frequency = 27.00
Touch SPI frequency = 2.50
I have also set the "Pin Numbering" setting to "By GPIO number" in the IDE (as seen in this fourm post)
When I run the "Test_Touch_Controller" example sketch, the only output is:
x: 0 y: 0 z: 0
Is my wiring or settings incorrect? I would appreciate any guidance on this issue!
Thanks,
ZeruT
4 posts - 3 participants