Fork of 4DGL lib for uLCD-144-G2. Different command values needed. See https://mbed.org/users/4180_1/notebook/ulcd-144-g2-128-by-128-color-lcd/ for instructions and demo code.

Dependents:   mythermostat MorseCode SuperMbedBall frogger_G ... more

Fork of 4DGL by Adam Green

Revision:
5:8936798c19a3
Parent:
2:edae99e4abe7
Child:
7:e39a44de229a
--- a/uLCD_4DGL_Text.cpp	Wed Nov 20 03:25:53 2013 +0000
+++ b/uLCD_4DGL_Text.cpp	Fri Nov 22 02:44:37 2013 +0000
@@ -67,6 +67,8 @@
     writeCOMMAND(command, 3);
 }
 
+
+
 //****************************************************************************************************
 void uLCD_4DGL :: text_mode(char mode)     // set text mode
 {
@@ -80,6 +82,42 @@
 }
 
 //****************************************************************************************************
+void uLCD_4DGL :: text_bold(char mode)     // set text mode
+{
+    char command[3]= "";
+
+    command[0] = TEXTBOLD;
+    command[1] = 0;
+    command[2] = mode;
+
+    writeCOMMAND(command, 3);
+}
+
+//****************************************************************************************************
+void uLCD_4DGL :: text_italic(char mode)     // set text mode
+{
+    char command[3]= "";
+
+    command[0] = TEXTITALIC;
+    command[1] = 0;
+    command[2] = mode;
+
+    writeCOMMAND(command, 3);
+}
+
+//****************************************************************************************************
+void uLCD_4DGL :: text_inverse(char mode)     // set text mode
+{
+    char command[3]= "";
+
+    command[0] = TEXTINVERSE;
+    command[1] = 0;
+    command[2] = mode;
+
+    writeCOMMAND(command, 3);
+}
+
+//****************************************************************************************************
 void uLCD_4DGL :: text_width(char width)     // set text width
 {
     char command[3]= "";