sumotoy / RA8875

A library for RAiO RA8875 display driver for Teensy3.x or LC/Arduino's/Energia/Spark
GNU General Public License v3.0
79 stars 55 forks source link

Touchscreen doesn't work! #130

Open github4mat opened 6 years ago

github4mat commented 6 years ago

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?