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:
143:e872d65a710d
Parent:
142:6e9bff59878a
Child:
144:ba002c4b21b3
--- a/RA8875.h	Sun Mar 19 21:41:24 2017 +0000
+++ b/RA8875.h	Sun Mar 19 22:11:04 2017 +0000
@@ -564,9 +564,12 @@
     ///
     /// @param[in] layer is 0 or 1 to select the layer for subsequent 
     ///     commands.
-    /// @returns the previous drawing layer; 0 or 1.
-    ///
-    virtual uint16_t SelectDrawingLayer(uint16_t layer);
+    /// @param[out] prevLayer is an optiona pointer to where the previous layer
+    ///     will be written, making it a little easer to restore layers.
+    ///     Writes 0 or 1 when the pointer is not NULL.
+    /// @returns success/failure code. See @ref RetCode_t.
+    ///
+    virtual RetCode_t SelectDrawingLayer(uint16_t layer, uint16_t * prevLayer = NULL);
  
     
     /// Get the currently active drawing layer.