Hello,
I bought this touchscreen:2.8inch Touch LCD Shield for Arduino
I'm using interrupt to detect touch of the screen and it works fine. Problem occurs when I try to read X, Y values using library function that was provided with the screen. This line:
Xpt.xpt2046_write_byte(0x90);
generates the same interrupt and the loop goes on and on.
The function above is just SPI.transfer(). Thank you for answers.