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:
197:853d08e2fb53
Parent:
180:d8abf2e70b88
Child:
198:9b6851107426
--- a/DisplayDefs.h	Tue Feb 11 21:26:59 2020 +0000
+++ b/DisplayDefs.h	Tue Feb 11 21:51:42 2020 +0000
@@ -16,7 +16,7 @@
 /// Return values from numerous APIs.
 ///
 /// This is the return value from various functions. Compare the return value
-/// to the possibilities in this definition, or use the @ref RA8875::GetErrorMessage() 
+/// to the possibilities in this definition, or use the @ref RA8875::GetErrorMessage()
 /// function to translate a @ref RetCode_t value into a text string.
 ///
 typedef enum
@@ -41,7 +41,7 @@
 /// * @ref RA8875::TouchPanelReadable()
 /// * @ref RA8875::TouchPanelA2DRaw()
 /// * @ref RA8875::TouchPanelA2DFiltered()
-/// * @ref RA8875::TouchPanelGet() 
+/// * @ref RA8875::TouchPanelGet()
 ///
 typedef enum
 {
@@ -77,9 +77,9 @@
     loc_t y;             ///< y value in the point
 } point_t;
 
-/// Data type that manages rectangles, which are pairs of points. 
+/// Data type that manages rectangles, which are pairs of points.
 ///
-/// @note It is recommended that p1 contains the top-left point and p2 contains 
+/// @note It is recommended that p1 contains the top-left point and p2 contains
 /// the bottom-right point, even though it should not matter.
 ///
 typedef struct
@@ -106,11 +106,11 @@
 
 /// color type definition to let the compiler type-check parameters that
 /// are passed to or returned from APIs that use color.
-/// 
-/// colors can be easily defined with the @ref RGB(r,g,b) macro, or from 
+///
+/// colors can be easily defined with the @ref RGB(r,g,b) macro, or from
 /// the @ref PredefinedColors.
 ///
-typedef uint16_t color_t;   
+typedef uint16_t color_t;
 
 /// background fill info for drawing Text, Rectangles, RoundedRectanges, Circles, Ellipses and Triangles.
 typedef enum