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:
83:7bad0068cca0
Parent:
81:01da2e34283d
Child:
88:bfddef6ec836
--- a/DisplayDefs.h	Tue Dec 30 23:45:37 2014 +0000
+++ b/DisplayDefs.h	Thu Jan 01 20:35:37 2015 +0000
@@ -21,6 +21,17 @@
     LastErrCode,            // Private marker.
 } RetCode_t;
 
+/// return values from TouchPanelReadable, TouchPanelA2DRaw, TouchPanelA2DFiltered.
+/// @see TouchPanelReadable.
+typedef enum
+{
+    no_touch,               ///< no touch is detected
+    touch,                  ///< touch is detected
+    held,                   ///< held after touch
+    release,                ///< release is detected
+    no_cal,                 ///< no calibration matrix is available
+} TouchCode_t;
+
 /// type that manages locations, which is typically an x or y pixel location,
 /// which can range from -N to +N (even if the screen is 0 to +n). @see textloc_t.
 typedef int16_t loc_t;