keila
Newbie level 6
ads7846
Hai!
I'm working on developing a touch panel interface to a graphic display.
The resolution of touch panel is 255*255.
THe touch screen controller i'm using is ADS 7846 which works on SPI.
The host controller is AT89c51RD2.
I had written a C code for calculation of the position of touch on touch panel.
The o/p i get is the coordinates in hexadecimal format.
Now coming to the problem,
I'm getting coordinates only in the range fron (00 to 1F), but not from (00 to FF).
So any one could help me in software?
Or anyone who can give me a better code?
Thanks in Advance.
Hai!
I'm working on developing a touch panel interface to a graphic display.
The resolution of touch panel is 255*255.
THe touch screen controller i'm using is ADS 7846 which works on SPI.
The host controller is AT89c51RD2.
I had written a C code for calculation of the position of touch on touch panel.
The o/p i get is the coordinates in hexadecimal format.
Now coming to the problem,
I'm getting coordinates only in the range fron (00 to 1F), but not from (00 to FF).
So any one could help me in software?
Or anyone who can give me a better code?
Thanks in Advance.