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:
77:9206c13aa527
Parent:
42:7cbdfd2bbfc5
Child:
79:544eb4964795
--- a/DisplayDefs.h	Fri Nov 28 22:53:35 2014 +0000
+++ b/DisplayDefs.h	Fri Dec 26 21:34:28 2014 +0000
@@ -9,6 +9,7 @@
 typedef enum
 {
     noerror,                ///< no errors, command completed successfully
+    no_touch = noerror,
     bad_parameter,          ///< one or more parameters are invalid
     file_not_found,         ///< specified file could not be found
     not_bmp_format,         ///< file is not a .bmp file
@@ -16,6 +17,7 @@
     not_supported_format,   ///< file format is not yet supported
     image_too_big,          ///< image is too large for the screen
     not_enough_ram,         ///< could not allocate ram for scanline
+    touch,    
 } RetCode_t;
 
 /// type that manages locations, which is typically an x or y pixel location,
@@ -36,6 +38,11 @@
     loc_t y;             ///< y value in the point
 } point_t;
 
+typedef struct
+{
+    int32_t An, Bn, Cn, Dn, En, Fn, Divider;
+} tpMatrix_t;
+
 /// color type definition to let the compiler help keep us honest.
 /// 
 /// colors can be defined with the RGB(r,g,b) macro, and there