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:
154:ad2450fc3dc3
Parent:
153:8a85efb3eb71
Child:
155:b3f225ae572c
--- a/RA8875.cpp	Sun Jul 29 00:32:51 2018 +0000
+++ b/RA8875.cpp	Fri Aug 17 01:29:06 2018 +0000
@@ -142,7 +142,7 @@
     // Interrupt
     m_irq->mode(PullUp);
     m_irq->enable_irq();
-    #if MBED_LIBRARY_VERSION >= 128   // a new callback declaration strategy in v128
+    #if (MBED_MAJOR_VERSION >= 5) || (MBED_LIBRARY_VERSION > 128)   // Is this the right version?
     m_irq->fall(callback(this, &RA8875::TouchPanelISR));
     #else
     m_irq->fall(this, &RA8875::TouchPanelISR);
@@ -155,6 +155,7 @@
 //{
 //}
 
+
 RetCode_t RA8875::init(int width, int height, int color_bpp, uint8_t poweron, bool keypadon, bool touchscreenon)
 {
     font = NULL;                                // no external font, use internal.