4D SYSTEMS FORUM

Register New Posts
 
 
 


Reply
 
Author Comment
 
MertGulsoy

Registered: 22/07/12
Posts: 3
Reply with quote #1 
Hi All,

I'm working on a project with uLCD-43PT_GFX2 module. I see that touch screen calibration is a little problematic so i tried to calibrate the touch screen. First i downloaded the program for the module in the "downloads" section (tab). 

When i open the program, i saw that the code is for " uLCD-32PT_GFX2". I changed the module definition and tried again. Then i could not be able to see the second point to touch. After a little search i saw that the program coordinates are for portrait. So i added the code to make PORTRAIT. I tried again. I got a: "error 16" message. I added some messages and pause commands to where exactly the code bumps. Then i saw that the error 16 is caused by "sys_StoreTouchCalibration()"  command. After doing a little search i found that command is not for my module ( uLCD-43PT_GFX2 ).  I changed the code and commented that line out. Tried again. I got a result. But the calibration is reverse and very bad. I changed  to PORTRAIT_R and tried again then got the result correct way but calibration is still bad. I touch to the very left side of the screen and it draws somewhere close to the right  side.

I tried with v3.0, v2.9, v2.8a, v2.8 PmmC's. With v3.0 PmmC it even could not be able to read current TOUCH_XMINCAL ... values, shows 0000. with others i can read some values. 

So, the question is: How can i calibrate touch screen properly?

ESPsupport

Moderator
Registered: 27/01/09
Posts: 4,256
Reply with quote #2 
You want to read Q37 in the FAQ http://4d.websitetoolbox.com/post/PICASOGFX2-Related-Display-modules-and-Softwares-5149859?highlight=ar1020
MertGulsoy

Registered: 22/07/12
Posts: 3
Reply with quote #3 
Thank you very much. Works perfectly. 
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Powered by Website Toolbox - Create a Website Forum Hosting, Guestbook Hosting, or Website Chat Room for your website.