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:
181:0032d1b8f5d4
Parent:
178:ae472eb22740
Child:
182:8832d03a2a29
--- a/RA8875.h	Thu Aug 01 22:35:29 2019 +0000
+++ b/RA8875.h	Fri Aug 02 02:12:26 2019 +0000
@@ -278,6 +278,9 @@
 #define RA8875_DEFAULT_SPI_FREQ 5000000
 
 #ifndef MBED_ENCODE_VERSION
+#define MBED_MAJOR_VERSION 2
+#define MBED_MINOR_VERSION 0
+#define MBED_PATCH_VERSION MBED_LIBRARY_VERSION
 #define MBED_ENCODE_VERSION(major, minor, patch) ((major)*10000 + (minor)*100 + (patch))
 #endif
 
@@ -3340,6 +3343,9 @@
     FPointerDummy  *obj_callback;
     RetCode_t (FPointerDummy::*method_callback)(filecmd_t cmd, uint8_t * buffer, uint16_t size);
     RetCode_t (* idle_callback)(IdleReason_T reason, uint16_t param);
+    
+    orientation_t screen_orientation;
+    point_t TranslateOrientation(point_t rawPoint);
 };