Library to control a Graphics TFT connected to 4-wire SPI - revised for the Raio RA8875 Display Controller.

Dependents:   FRDM_RA8875_mPaint RA8875_Demo RA8875_KeyPadDemo SignalGenerator ... more

Fork of SPI_TFT by Peter Drescher

See Components - RA8875 Based Display

Enhanced touch-screen support - where it previous supported both the Resistive Touch and Capacitive Touch based on the FT5206 Touch Controller, now it also has support for the GSL1680 Touch Controller.

Offline Help Manual (Windows chm)

/media/uploads/WiredHome/ra8875.zip.bin (download, rename to .zip and unzip)

Revision:
176:4ab96d33a8ec
Parent:
171:f92c0f1f6db4
Child:
178:ae472eb22740
--- a/RA8875_Touch.cpp	Fri Mar 15 01:39:39 2019 +0000
+++ b/RA8875_Touch.cpp	Sun Mar 24 14:49:49 2019 +0000
@@ -134,11 +134,11 @@
 int RA8875::TouchChannels(void)
 {
     if (useTouchPanel == TP_GSL1680) {
-        return GSL1680_TOUCH_POINTS;  // based on TP_GSL1680 firmware
+        return GSL1680_TOUCH_POINTS;    // based on TP_GSL1680 firmware
     } else if (useTouchPanel == TP_FT5206) {
-        return 5;   // based on the FT5206 hardware
+        return FT5206_TOUCH_POINTS;     // based on the FT5206 hardware
     } else if (useTouchPanel == TP_RES) {
-        return 1;   // based on the RA8875 resistive touch driver
+        return RESISTIVE_TOUCH_POINTS;  // based on the RA8875 resistive touch driver
     } else {
         return 0;   // it isn't enabled, so there are none.
     }