Fork of Silabs MemoryLCD library

Dependents:   demoUI whrmDemoUI Host_Software_MAX32664GWEB_HR_EXTENDED Host_Software_MAX32664GWEC_SpO2_HR-_EXTE ... more

C++ library for Sharp Microelectronics 1.28 inch LCD TFT, LS013B7DH03, SPI bus. Forked from Silicon Labs MemoryLCD display driver.

Revision:
11:0f8ae10b308d
Parent:
4:b02dfd360729
Child:
12:ca0bcb4777e9
--- a/TextDisplay.cpp	Wed Aug 12 13:32:01 2015 +0000
+++ b/TextDisplay.cpp	Wed Aug 12 14:06:07 2015 +0000
@@ -47,9 +47,23 @@
     }
 }
 
+void TextDisplay::set_font(const unsigned char * f) {
+    font = f;
+    if(font==NULL) {
+    	externalfont = 0;  // set display.font
+    	locate(0, 0);
+    }    
+    else{
+    	externalfont = 1;
+    	locate(0, 0);
+    }
+}
+
 void TextDisplay::locate(int column, int row) {
     _column = column;
     _row = row;
+    char_x = column;
+    char_y = row;
 }
 
 int TextDisplay::_getc() {