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:
33:b6b710758ab3
Parent:
29:422616aa04bd
Child:
37:f19b7e7449dc
--- a/TextDisplay.cpp	Tue Jan 21 03:28:36 2014 +0000
+++ b/TextDisplay.cpp	Wed Jan 22 03:50:55 2014 +0000
@@ -78,17 +78,17 @@
     return -1;
 }
 
-RetCode_t TextDisplay::foreground(uint16_t colour)
+RetCode_t TextDisplay::foreground(uint16_t color)
 {
-    INFO("foreground(%4X)", colour);
-    _foreground = colour;
+    INFO("foreground(%4X)", color);
+    _foreground = color;
     return noerror;
 }
 
-RetCode_t TextDisplay::background(uint16_t colour)
+RetCode_t TextDisplay::background(uint16_t color)
 {
-    INFO("background(%4X)", colour);
-    _background = colour;
+    INFO("background(%4X)", color);
+    _background = color;
     return noerror;
 }
 
@@ -105,3 +105,4 @@
     setvbuf(stdout, NULL, _IOLBF, columns());
     return true;
 }
+