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:
74:686faa218914
Parent:
73:f22a18707b5e
Child:
75:ca78388cfd77
--- a/RA8875.cpp	Sun Nov 09 18:52:46 2014 +0000
+++ b/RA8875.cpp	Sun Nov 09 20:38:49 2014 +0000
@@ -1451,6 +1451,11 @@
 
 RetCode_t RA8875::PrintScreen(uint16_t layer, loc_t x, loc_t y, dim_t w, dim_t h, const char *Name_BMP)
 {
+    #if 1
+    (void)layer;
+    return PrintScreen(x, y, w, h, Name_BMP);
+    #else
+    // This is the deprecated interface and with the changes it is no longer implemented correctly.
     uint16_t curLayer = GetDrawingLayer();
     RetCode_t ret = SelectDrawingLayer(layer);
     if (ret == noerror) {
@@ -1458,6 +1463,7 @@
     }
     SelectDrawingLayer(curLayer);
     return ret;
+    #endif
 }
 
 RetCode_t RA8875::PrintScreen(loc_t x, loc_t y, dim_t w, dim_t h, const char *Name_BMP)