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:
90:d113d71ae4f0
Parent:
88:bfddef6ec836
Child:
96:40b74dd3695b
--- a/RA8875.h	Sun Jan 25 00:15:02 2015 +0000
+++ b/RA8875.h	Wed Jan 28 12:21:11 2015 +0000
@@ -1974,8 +1974,13 @@
     unsigned long spireadfreq;      ///< saved read freq
     DigitalOut cs;                  ///< chip select pin, assumed active low
     DigitalOut res;                 ///< reset pin, assumed active low
+    
+    dim_t screenwidth;              ///< configured screen width
+    dim_t screenheight;             ///< configured screen height
+    bool portraitmode;              ///< set true when in portrait mode (w,h are reversed)
+    
     const unsigned char * font;     ///< reference to an external font somewhere in memory
-    loc_t cursor_x, cursor_y;    ///< used for external fonts only
+    loc_t cursor_x, cursor_y;       ///< used for external fonts only
     
     #ifdef PERF_METRICS
     typedef enum