Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

point.x behaviour #1

Open
KMyles opened this issue Feb 3, 2023 · 1 comment
Open

point.x behaviour #1

KMyles opened this issue Feb 3, 2023 · 1 comment

Comments

@KMyles
Copy link

KMyles commented Feb 3, 2023

Hi , Thanks for the help getting my 7.8" 1280 X 400 pixel screen going ... appreciate your time .. you had provided the link to this library top get the mating GT911 running ...
So far so good , I've run your example and am getting points back ..

But I noticed this behaviour when using the touch environment on the x-axis
if I am touching the screen from the left side to the right side of the panel ,

I have created a menu bar across the bottom of the screen of 11 touch areas When reading back the x position information I'm experiencing some point behaviour

so for my 11 touch areas my x =axis position information is coming back as
position X-axis value
1 27136
2 27392
3 26881
4 24321
5 28930
6 26882
7 23043
8 26115
9 24836
10 23813
11 23044

This occurs in Arduino 2.0 /1.8.19
Running Teensyduino
Running Teensyduino 1.57 ..

So curious if you have any ideas ...Regrettably I'm not strong enough in the GT911 library code to work through it ..

Thanks
Keith

@DeanK2022
Copy link

DeanK2022 commented Feb 21, 2023

For some reason on my board (JC3248S035R) the use of interrupts just crashes the ESP32. The vendor advised to use polling only. Why this is I do not know, all I know is that if I tried to enable it the ESP32 would just keep rebooting when interrupts were enabled.

I have reworked your code to use polling and uploaded to https://github.com/DeanK2022/GT911 if that is OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants