This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
HI
I'm trying to interface a 4 wire resistive touch screen with Tiva TM4C1294 launchpad, I'm a beginner and I'm having a problem like this:
I configurated the ADC to do the readings of the x and y axis, but when there is no touch at the screen the ADC continues to show a conversion number around 2500-2600.
how can I eliminate this value and show only when the touchscreen is really being touched?
Thanks.
First, I suggest you measure the voltage at the ADC input pin and verify that your hardware is providing the voltage you expect. It must be in the range of 0.0V to 3.3V. Here is a working project that you can run on an EK-TM4C1294XL launchpad that reads a voltage on AIN0 and prints the converted number out UART0. You can see the results in the terminal emulator of Code Composer Studio. Use the CCS "file" -> "import" function to grab this project from the .zip file and add it to your workspace.
/cfs-file/__key/communityserver-discussions-components-files/908/ADC_5F00_single_5F00_ended.zip