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:
29:422616aa04bd
Parent:
19:3f82c1161fd2
Child:
31:c72e12cd5c67
--- a/TextDisplay.h	Fri Jan 17 17:24:05 2014 +0000
+++ b/TextDisplay.h	Sun Jan 19 04:24:16 2014 +0000
@@ -40,11 +40,12 @@
 
     /** output a character at the given position
      *
-     * @param column column where charater must be written
-     * @param  row where character must be written
+     * @param x position in pixels
+     * @param y position in pixels
      * @param c the character to be written to the TextDisplay
+     * @returns number of pixels to advance the cursor.
      */
-    virtual void character(int column, int row, int c) = 0;
+    virtual int character(int x, int y, int c) = 0;
 
     /** return number if rows on TextDisplay
      * @result number of rows
@@ -65,7 +66,7 @@
 
     /** clear screen
     */
-    virtual RetCode_t cls();
+    virtual RetCode_t cls() = 0;
     virtual RetCode_t locate(unsigned int column, unsigned int row) = 0;
     virtual RetCode_t foreground(uint16_t colour) = 0;
     virtual RetCode_t background(uint16_t colour) = 0;