Touchscreen Controller Library

Coding and general discussion relating to user created compiler modules

Moderators: David Barker, Jerry Messina

falcon83
Posts: 3
Joined: Wed Oct 10, 2007 4:49 pm

Post by falcon83 » Wed Oct 10, 2007 5:21 pm

thanks for answer!!!!
is better c or basic?

falcon83
Posts: 3
Joined: Wed Oct 10, 2007 4:49 pm

Post by falcon83 » Wed Oct 10, 2007 5:23 pm

i din't understand the tl and br?
top-left and back-right?
why this solution?

User avatar
Steven
BETA Tester
Posts: 406
Joined: Tue Oct 03, 2006 8:32 pm
Location: Cumbria, UK

Post by Steven » Wed Oct 10, 2007 5:44 pm

tl is top-left, as correctly guessed, br is for bottom-right. This solution tries to give a more accurate pen/touch position. If you just meaure from the top-left, then a light touch gives positions that appear at higher (x,y) values than they should be, I think due to the higher contact resistance between the conductive layers. By also measuring from the br and averaging the positons, this error for light touch is reduced. If the pen/touch pressure is higher, this averaging is less important.

As for C vs Basic, having only ever written in Basic, I can't comment really. I guess that it's whatever you know better...

Hope this helps,

Steve

chrismills
Posts: 15
Joined: Fri Apr 04, 2008 12:28 am
Location: Plymouth, UK

Schematics

Post by chrismills » Tue May 06, 2008 12:25 am

Hi Steven, I think you GLCD touch screen project is fantastic and I was hoping to use the libraries in a project of my own. I wondered if you might be able to provide schematics for hooking up the display unit. I have the same one from RS components. Thanks for any help and advice you can offer.
Chris

Post Reply