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)

Files at this revision

API Documentation at this revision

Comitter:
dreschpe
Date:
Tue Mar 05 15:47:00 2013 +0000
Parent:
11:9bb71766cafc
Child:
17:d7e48335953e
Commit message:
Fix LPC11U24 bug

Changed in this revision

SPI_TFT.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SPI_TFT.cpp	Tue Feb 19 21:49:55 2013 +0000
+++ b/SPI_TFT.cpp	Tue Mar 05 15:47:00 2013 +0000
@@ -577,7 +577,8 @@
     _spi.format(8,3);                             // 8 bit Mode 3
     _spi.write(SPI_START | SPI_WR | SPI_DATA);    // Write : RS = 1, RW = 0
     _spi.format(16,3);                            // switch to 16 bit Mode 3
-    for (i=0; i<w; i++) {
+    int j;
+    for (j=0; j<w; j++) {
         _spi.write(color);
     }
 #endif