Touchscreen Calibration

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
hazer
 
Posts: 18
Joined: Fri Feb 07, 2014 5:30 pm

Touchscreen Calibration

Post by hazer »

I have a PyPortal Titanio and I am programming the touchscreen. I have a number of buttons on the screen which work perfectly, however, I placed a button on the upper right portion of the screen (when in landscape mode) and was unable to capture the button click. When debugging the click, it appears that even though the button is placed correctly by the programmed coordinates, the coordinates returned when attempting a click are inaccurate. This seems to be the only location on the entire screen with this issue since nearly the entire screen is covered in buttons, and all the others work perfectly. How can I overcome this issue?

User avatar
DJDevon3
 
Posts: 210
Joined: Wed Mar 06, 2019 11:02 am

Re: Touchscreen Calibration

Post by DJDevon3 »

CGrover has a calibration library that might be useful. It's for built-in or featherwing TFT displays. If you look at the example image on his GitHub he's using a PyPortal Titano. ;)

https://github.com/CedarGroveStudios/To ... Calibrator

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”