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:
73:f22a18707b5e
Parent:
72:ecffe56af969
Child:
74:686faa218914
--- a/RA8875.h	Sat Oct 11 17:24:29 2014 +0000
+++ b/RA8875.h	Sun Nov 09 18:52:46 2014 +0000
@@ -293,6 +293,16 @@
     ///
     RetCode_t SetBackgroundTransparencyColor(color_t color = RGB(0,0,0));
  
+ 
+    /// Get the background color value used for transparency.
+    ///
+    /// This command reads the background color registers that define
+    /// the transparency color for operations involving layers.
+    ///
+    /// @returns the color.
+    ///
+    color_t GetBackgroundTransparencyColor(void);
+ 
     /// Initialize theTouch Panel controller with default values 
     ///
     /// @returns success/failure code. @see RetCode_t.
@@ -1286,6 +1296,11 @@
     /// Even though this is a 16-bit display, the stored image is in
     /// 24-bit format.
     ///
+    /// This method will interrogate the current display setting and
+    /// create a bitmap based on those settings. For instance, if 
+    /// only layer 1 is visible, then the bitmap is only layer 1. However,
+    /// if there is some other operation in effect (transparent mode).
+    ///
     /// @param[in] x is the left edge of the region to capture
     /// @param[in] y is the top edge of the region to capture
     /// @param[in] w is the width of the region to capture