XPT2046 icon indicating copy to clipboard operation
XPT2046 copied to clipboard

Connection diagram

Open Tokn59 opened this issue 7 years ago • 0 comments

Hello, thank you for sharing this project with us !

I have some questions about the physical configuration. I am using an ESP82-66-12E board. I made following connections

+5V =>Vin (5V) GND => GND

MOSI => pin D7 SCK => pin D5 DC => pin D3 CS => pin D8 RST => pin D4 TP_CS => 3.3V (Touch screen disabled)

In the code I modified it to reflect this hardware configuration :

//Ucglib_ILI9341_18x240x320_HWSPI ucg(/cd=/ 2 , /cs=/ 4, /reset=/ 5); Ucglib_ILI9341_18x240x320_HWSPI ucg(/cd=/ D3 , /cs=/ D8, /reset=/ D4);

XPT2046 touch(/cs=/ D8, /irq=/ 0);

Not sure what the IRQ pin is ? it is not mentioned on my XPT2046 board (see attached picture) Also not sure about the "cd" pin .. is this "DC" ?

Thank you for your help !! Kind Regards, Tony xpt2046 display connections esp8266

Tokn59 avatar Sep 21 '17 11:09 Tokn59