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:
92:ce1ab76e8614
Parent:
91:ca5f829e6d27
Child:
93:6fbc516de05e
--- a/RA8875.cpp	Wed Jan 28 12:30:45 2015 +0000
+++ b/RA8875.cpp	Sun Feb 01 17:07:13 2015 +0000
@@ -434,7 +434,7 @@
 RetCode_t RA8875::WriteCommand(unsigned char command, unsigned int data)
 {
 #ifdef PERF_METRICS
-    if (commandsUsed[command] <= 65535)
+    if (commandsUsed[command] < 65535)
         commandsUsed[command]++;
 #endif
     _select(true);