11 years, 2 months ago.

Does it work (ADS7843 library)?

Has anybody got this library to work with the touch controller? I have triend to get it working and getting no data. but i am asking if anyone got it work work before i go diving into its implementation or writing interface code for myself.

Question relating to:

The ADS7843 is compatible with the XPT2046. They are used in many touchscreens. There are several links to code on the mbed site. Which one are you using? Here is one :

http://mbed.org/users/frankvnk/code/Mini-DK/file/6816fa47b39e/TouchADS7843

posted by Wim Huiskamp 28 Jan 2013

I was using that same library. I have a sainsmart LCD with that touch controller, and i cant get it to work. Well now im realising that even code as simple as setting a particular pin to pullup mode in the initialisation doesnt work (for the PENIRQ pin).

posted by Jeremy Hall 28 Jan 2013

Using p21 for PENIRQ, measured voltage even after pullup (and disconnecting LCD) was a low. I cn enable pullup and read a high if i set the pin directly, but if i set it in the initialisation function it still reads low.

posted by Jeremy Hall 28 Jan 2013
Be the first to answer this question.