Hi,
I have a problem with the resolution of the touch coordiation.
The display is 800x480 but the max resolution I can get is the default 480x320.
I'm using the official Arduino TAMC_GT911 library.
https://www.arduino.cc/reference/en/lib ... amc_gt911/
Any suggestions of how to change the resolution ?
ESP32 4.3" yellow display touch issue
-
- Posts: 828
- Joined: Mon Jul 22, 2019 3:20 pm
Re: ESP32 4.3" yellow display touch issue
There's nothing official about that library, and it has not been updated in 3 years.
If the physical resolution of the device is 480x320, then that is what you are going to get as raw data.
The math isn't very difficult to implement as a function to do your own mapping from one to the other.
I believe the TFT_eSPI can use that library to feed the touchscreen portion, and will then provide abstraction to match the screen resolution with the touch.
If the physical resolution of the device is 480x320, then that is what you are going to get as raw data.
The math isn't very difficult to implement as a function to do your own mapping from one to the other.
I believe the TFT_eSPI can use that library to feed the touchscreen portion, and will then provide abstraction to match the screen resolution with the touch.
Re: ESP32 4.3" yellow display touch issue
But it's in the official arduino list, I believe that a library must be approved and confirmed to be uploaded on the site.lbernstone wrote: ↑Wed Sep 18, 2024 4:44 pmThere's nothing official about that library, and it has not been updated in 3 years.
The phesical resolution of my display is 800x480.If the physical resolution of the device is 480x320
I'm using the example came with the library which is providing the values of the resolution based on the display resolution.then that is what you are going to get as raw data.
I will try that.The math isn't very difficult to implement as a function to do your own mapping from one to the other.
He hasn't implemented the code for the GT911 yet.I believe the TFT_eSPI can use that library to feed the touchscreen portion, and will then provide abstraction to match the screen resolution with the touch.
Who is online
Users browsing this forum: No registered users and 46 guests