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:
24:8ca861acf12d
Parent:
23:a50ded45dbaf
Child:
25:9556a3a9b7cc
--- a/RA8875.h	Wed Jan 15 12:24:54 2014 +0000
+++ b/RA8875.h	Fri Jan 17 02:10:18 2014 +0000
@@ -57,6 +57,15 @@
     FILL        ///< fill the object space with the background color
 } fill_t;
 
+/// cursor type to be shown as the text cursor.
+typedef enum
+{
+    NOCURSOR,   ///< cursor is hidden
+    IBEAM,      ///< | cursor
+    UNDER,      ///< _ cursor
+    BLOCK       ///< Block cursor
+} cursor_t;
+
 /// return values from functions
 //typedef enum
 //{
@@ -238,12 +247,12 @@
     /// Cursor visible/hidden, Cursor blink/normal, 
     /// Cursor I-Beam/underscore/box.
     ///
-    /// @param visible can be set to true or false (default false)
+    /// @param cursor can be set to NOCURSOR (default), IBEAM,
+    ///         UNDER, or BLOCK.
     /// @param blink can be set to true or false (default false)
-    /// @param ?
     /// @returns success/failure code. @see RetCode_t
     ///
-    RetCode_t SetTextCursorControl(bool visible = false, bool blink = false);
+    RetCode_t SetTextCursorControl(cursor_t cursor = NOCURSOR, bool blink = false);
     
     /// Select the ISO 8859-X font to use next.
     ///