Display resistive touch screen not working

I have a problem with one of my displays, it uses resistive touch screen and I have it wired up to a tsc2046 and I believe the chip itself is working since when the display is not plugged in it gives constant 0,0 but here is the problem, when the display is plugged in, it gives max pressure on the z (around 4000) and constant X:18, Y:0 coordinates and I’m not even touching the display. I used to have the display connected directly to the esp32 on another board and it was outputting a constant coordinate like this time but when I touched it it would then give the right coordinates. I don’t really know what’s going on. I ordered another display but it won’t arrive until a few weeks. I’m using tft_espi library for controlling it. Teh lcd itself works great and the wiring for the resistive touch is straight forward (x- to x-,y- to y-,etc..) so I don’t think it’s a wiring issue. Here si the link to the display: Link

What has the title of this topic got to do with the problem that you describe ?

"Function not declared in this scope" is a simple coding error. Nothing to do with faulty wiring or faulty display. So what's the actual problem?

Maybe you should read the forum guide...

My bad, i thought I was in the displays section and the title, well it set itself for some reason.

I was in the display section, then clicked on create topic and it somehow ended up here. As for the title, I forgot to set one.

Title is blank by default and forum won't let you post with a blank title:

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