Mcufreind ili9486 and esp32 using touch

hello, I am using the mcufreind library on my esp32-WROOM devboard. The mcufreind graphics example works on my 8 bit parallel ili9486 uno shield, however i am clueless as to how i get touch working?
my wiring so far:

#define TFT_CS   33 
#define TFT_DC   15  
#define TFT_RST  32  

#define TFT_WR    4
#define TFT_RD    2 

#define TFT_D0   12  
#define TFT_D1   13  
#define TFT_D2   26  
#define TFT_D3   25  
#define TFT_D4   17
#define TFT_D5   16
#define TFT_D6   27
#define TFT_D7   14

so, anyone know how i can get touch capability without purchasing any extra parts?
i was advised by bodmer in this topic to contact @david_prentice about it

bump

@loveofsparks, Hi,

Right-click on @david_prentice to see his profile, then notice Last Post Oct 18 Seen Oct 26.
This is uncommon, as David used to answer posts frequently. I am a bit anxious.

I assume you have a display with resistive touch without touch controller. MCUFriend_kbv can handle this on UNO, afaik. I think two pins are used for analog measure, and two pins to drive the other side. This should be possible on the ESP32 board with UNO headers as well, but may need jumper wires to analog capable pins, and modifications to the touch part of the library. Take a look at that touch part to see if you are able to modify it.

And please always post links to your devices, so we do not need to guess.

Jean-Marc

hello. yes, i followed this, however it does not work. When wifi is enabled on the esp32 board, some of the analog pins stop working as input pins and only work as output pins as they are used internally by the chip. therefore you have to wire the remaining analog pins that work as inputs to the analog pins that dont work as inputs. when i did this it just stopped working, the screen wouldnt display, its very complicated.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.