Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:07 03 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Windmills : problems whit my touch panel and  GUI CALIBRATE

Author Message
tenij000
Newbie

Joined: 30/05/2025
Location: Netherlands
Posts: 27
Posted: 02:15pm 02 Jul 2025
Copy link to clipboard 
Print this post

ili9341 display

t_irq gp7
t_do
t_din
t_cs gp5
t_clk

PicoMite MMBasic RP2040 Edition V6.00.02RC26
OPTION SYSTEM SPI GP18,GP19,GP16
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 200000
OPTION LCDPANEL ILI9341, LANDSCAPE,GP15,GP14,GP13,GP20
OPTION TOUCH GP5,GP7

if do GUI CALIBRATE

press first cross left side then press second cross right side then error
> GUI CALIBRATE
Error : Touch hardware failure 4095,4095,4095,4095
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2583
Posted: 10:47pm 02 Jul 2025
Copy link to clipboard 
Print this post

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
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025