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

Touchscreen doesn't work! #130

Open
github4mat opened this issue Mar 7, 2018 · 0 comments
Open

Touchscreen doesn't work! #130

github4mat opened this issue Mar 7, 2018 · 0 comments

Comments

@github4mat
Copy link

github4mat commented Mar 7, 2018

I have the same problem with the touch screen calibration as "sbfreddie" reproted years ago. The problem I found is, that first time after touching the screen the tft.touched() delivers true value for return but touching again it stays false! The reason may be that _RA8875_INTS aren't not being cleared and so the statement "if (bitRead(_RA8875_INTS,0))" wont deliver true after first time passed!
Doesn't this statement "_RA8875_INTS &= ~(1<<0); _checkInterrupt(2);" clear the variables correctly?
I dont know how to check this?

My hardware:
Teensy 3.2
5' Adafruit 800X480 TFT Screen

#define USE_RA8875_TOUCH //resistive touch screen is being set!
Interrupt pin is pin 0;
Version of RA8875: 0.70b11p10
Can someone help me?

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

1 participant