temtronic
Joined: 01 Jul 2010 Posts: 9245 Location: Greensville,Ontario
|
|
Posted: Wed Sep 11, 2013 1:18 pm |
|
|
You should say which 'touch panel' you're using.
From an 'overall design' though, you need a simple program to read the touch screen and display the X, Y values that it sends when the screen is touched.
Using graph paper you can 'see' what range of pixels would be 'valid' for a 'button' location,which should be 1 less than the drawing program pixels( inside the box outline).
Some screens are analog,some digital, some 'auto' report, some need polling, some interrupt driven,some 8 bit, 12 bit, 16 bit,etc.
Without knowing what panel you have, I can't help further.
hth
jay |
|