problems whit my touch panel and  GUI CALIBRATE


Author Message
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3279
Posted: 10:47pm 02 Jul 2025      

You don't appear to have connected the SPI touch pins. These are shared with the display and SD card System SPI.
t_irq gp7
t_do = MISO - GP16
t_din = MOSI - GP19
t_cs gp5
t_clk = SPI_CK - GP18

If that isn't the problem try directly entering either of these touch settings from two of my panels:-

GUI CALIBRATE 0, 128, 194, 872, 630
GUI CALIBRATE 0, 180, 202, 870, 638

Then do GUI TEST TOUCH to check the accuracy, as those values may not be accurate for yours. If they are too far out experiment with slightly different values to get closer.

Some panels have the touch foil reversed so require different settings like this:-

GUI CALIBRATE 0, 3956, 3841, -876, -647

If GUI TEST TOUCH draws lines at the wrong end of the screen use those settings.

PS To ensure your posts go on Microcontrollers rather than Windmills go to Forum Index : Microcontroller and PC projects rather than Active Topics.
.
Edited 2025-07-03 11:39 by phil99