- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
using...
Windows 10
PSoC Creator 4.2
PSOC 63
MCU: CYBLE-416045-02
I am trying to read from a 4 wire resistive touch screen. I found an app note that shows the pin configureations
https://www.cypress.com/file/134996/download
It requires 4 pins two analog and two digital
to read from both X and Y directions on the screen you need to switch the digital and analog pins (digital to analog and analog to digital)
this is my problem when I try to switch the pins and read the other dimension the readings are random ranging from 0xFF00 to 0x1000
when I use only one direction without trying to change the pin drive mode it works fine, but then cant read touch location.
attached is my project.
What am I missing?
thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi JaWa_4152831,
Please find the below sample code that changes between analog input to digital output at pre-defined time intervals. Please let me know if this helps.
Regards,
Bragadeesh
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi JaWa_4152831,
Please find the below sample code that changes between analog input to digital output at pre-defined time intervals. Please let me know if this helps.
Regards,
Bragadeesh
Bragadeesh