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:
163:17526689a3ed
Parent:
162:a2d7f1988711
Child:
164:76edd7d9cb68
--- a/RA8875.h	Mon Feb 11 03:44:42 2019 +0000
+++ b/RA8875.h	Wed Feb 13 04:20:12 2019 +0000
@@ -2674,10 +2674,12 @@
     /// @param[in] y is the top edge of the region to capture
     /// @param[in] w is the width of the region to capture
     /// @param[in] h is the height of the region to capture.
-    /// @param[out] Name_BMP is the filename to write the image to.
+    /// @param[in] Name_BMP is the filename to write the image to.
+    /// @param[in] bitsPerPixel is optional, defaults to 24, and only 
+    ///             accepts the values 24, 8
     /// @return success or error code.
     ///
-    RetCode_t PrintScreen(loc_t x, loc_t y, dim_t w, dim_t h, const char *Name_BMP);
+    RetCode_t PrintScreen(loc_t x, loc_t y, dim_t w, dim_t h, const char *Name_BMP, uint8_t bitsPerPixel = 24);
 
     
     /// This method captures the specified area as a 24-bit bitmap file