help ili9488 #1091
Replies: 7 comments 9 replies
-
https://github.com/Bodmer/TFT_eSPI#touch-controller-support - read the first sentence in the paragraph... |
Beta Was this translation helpful? Give feedback.
-
well, in fact, you can make it work, but I tried the library <XPT2046_Touchscreen.h> it works in conjunction with TFT_eSPI |
Beta Was this translation helpful? Give feedback.
-
There is clearly written "The XPT2046 touch screen controller is supported for SPI based displays only." There was many discussions about this (did you search the closed issues?), for example here #979 (comment) , #895 ... |
Beta Was this translation helpful? Give feedback.
-
As noted by others above. #895 gives example code. |
Beta Was this translation helpful? Give feedback.
-
The aim in the longer term is to deprecate the touch support built into TFT_eSPI as there are better touch libraries available that are good. Try this library, it supports the XPT2046 touch controller with TFT_eSPI parallel screens. Probably only the "calibrate" and "raw" sketches will work. The examples assume you are using pin 3 (corrected) as the touch CS line. Once you have the sketches working post back. |
Beta Was this translation helpful? Give feedback.
-
All is in the Keypad example,first you configure the touch calibrate and then you can press buttons |
Beta Was this translation helpful? Give feedback.
-
hello. help please I use esp32 I connect the LCD via the parallel interface, I connect the touchscreen via SPI, how to use the touch screen via SPI code the mode of inclusion is parallel ? The ILI9488 LCD controller .touch screen XPT2046 .the problem is that the LCD only works on a parallel 8bit interface ,and the touch is connected to SPI,can you somehow make it work with the built-in library of the touch screen?
Beta Was this translation helpful? Give feedback.
All reactions