Simple library for UC1701 based GLCD's

Dependents:   Opensmart_LCD_UC1701

With lots of fonts! Will include more in the future. A couple bitmaps have also been added.

Revision:
3:baaa16e24adc
Parent:
2:d9e9d326c4bb
Child:
5:7494bdca926b
--- a/UC1701.h	Sun Dec 18 21:17:42 2016 +0000
+++ b/UC1701.h	Mon Dec 19 12:58:10 2016 +0000
@@ -41,6 +41,9 @@
 
     // Initialize LCD
     void init(void);
+    
+    // Set contrast (0 - 63), initialized to 40
+    void setContrast(char contrast);
 
     // Place cursor at position
     void setCursor(char column, char line);
@@ -54,7 +57,7 @@
     // Write text to LCD where font format is a 2-dimensional array (only 96x8, 8x8 pixel fonts supported)
     void writeText2d(char column, char page, const char font_address[96][8], const char *text, int size);
 
-    // Write text to LCD where font format is a 1-dimensional array
+    // Write text to LCD where font format is a 1-dimensional array. Fonts bigger than 8 pix high should work but isn't tested
     void writeText(char column, char page, const char *font_address, const char *str, const uint8_t size);
 
     // Draw a 128x64 pixel bitmap