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:
56:7a85d226ad0d
Parent:
55:dfbabef7003e
Child:
58:26658a56112a
--- a/RA8875.cpp	Sun Mar 30 23:37:41 2014 +0000
+++ b/RA8875.cpp	Mon Mar 31 23:35:51 2014 +0000
@@ -1604,12 +1604,12 @@
         if (!SuppressSlowStuff)
             wait_ms(20);
     }
-    display.SetLayerMode(RA8875::OnlyLayer2);        // Show it after the build-up
+    display.SetLayerMode(RA8875::ShowLayer1);        // Show it after the build-up
     if (!SuppressSlowStuff)
         wait_ms(2000);
 
     display.SelectDrawingLayer(0);
-    display.SetLayerMode(RA8875::OnlyLayer1);        // Show Layer 0 again
+    display.SetLayerMode(RA8875::ShowLayer0);        // Show Layer 0 again
     if (!SuppressSlowStuff)
         wait_ms(1000);
     display.SetLayerMode(RA8875::TransparentMode);        // Transparent mode
@@ -1623,7 +1623,7 @@
     
     // Restore before we exit
     display.SetLayerTransparency(0, 0);
-    display.SetLayerMode(RA8875::OnlyLayer1);        // Restore to layer 0
+    display.SetLayerMode(RA8875::ShowLayer0);        // Restore to layer 0
 }