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

Resistive Touch over SPI only #101

Open tawatech opened 8 years ago

tawatech commented 8 years ago

I'm trying to do away with the extra connection from RA8875 chip to microcontroller (DUE), and poll the RA8875 for touch events over the SPI. I know it is possible as I've been doing this with the adafruit libraries, however I've moved to these libraries for better font support. By exposing the _checkInterrupt(2) routine I can detect touches, but I've got the problem that this works only after code using the adafruit libraries with touch is first uploaded to the board. After that any programs made with this library will work until the board is powered off; at which point an adafruit program must be uploaded to again obtain this functionality. My current workaround is to initialise the screen and touch first using adafruit, then using these libraries; which has meant changing parts to avoid duplicate enums.

Is it possible to add functionality to put in a touch over spi TS mode?