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:
172:7abb03bf31be
Parent:
157:1565f38ca44b
Child:
174:7810bc76987a
--- a/RA8875.h	Sun Jan 13 19:02:36 2019 +0000
+++ b/RA8875.h	Sun Jan 13 20:38:01 2019 +0000
@@ -419,7 +419,7 @@
     /// @returns noerror to allow the driver continue waiting.
     /// @returns external_abort if the pending action should be aborted.
     ///
-    typedef RetCode_t (* IdleCallback_T)(IdleReason_T reason, uint16_t param = 0);
+    typedef RetCode_t (* IdleCallback_T)(IdleReason_T reason, uint16_t param);
 
     /// Basic constructor for a display based on the RAiO RA8875 
     /// display controller, which can be used with no touchscreen,
@@ -534,7 +534,7 @@
     ///             parameter is used to enable and initialize the resistive touchscreen driver.
     /// @returns success/failure code. See @ref RetCode_t.
     ///
-    RetCode_t init(int width = 480, int height = 272, int color_bpp = 16, 
+    RetCode_t init(dim_t width = 480, dim_t height = 272, uint8_t color_bpp = 16, 
         uint8_t poweron = 40, bool keypadon = true, bool touchscreeenon = true);
 
 
@@ -1237,8 +1237,6 @@
     ///                +------------------+
     /// @endcode
     ///
-    /// @note that the first parameter is a pointer to a rect and the 
-    ///
     /// @param[inout] pRect1 is a pointer to a rectangular region, and returns
     ///             the area of intersection.
     /// @param[in] pRect2 is a pointer to a second rectangular region.