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:
81:01da2e34283d
Parent:
79:544eb4964795
Child:
83:7bad0068cca0
--- a/DisplayDefs.h	Sun Dec 28 19:58:18 2014 +0000
+++ b/DisplayDefs.h	Sun Dec 28 21:50:28 2014 +0000
@@ -39,6 +39,15 @@
     loc_t y;             ///< y value in the point
 } point_t;
 
+/// type that manages rectangles, which are pairs of points. It is recommended
+/// that p1 contains the top-left point and p2 contains the bottom-right point,
+/// even though eventually this should not matter.
+typedef struct
+{
+    point_t p1;         ///< p1 defines one point on the rectangle
+    point_t p2;         ///< p2 defines the opposite point on the rectangle
+} rect_t;
+
 typedef struct
 {
     int32_t An, Bn, Cn, Dn, En, Fn, Divider;