light text library for 5110 nokia lcd * easy to modify * proportional font, bold / inverse modes * easy to add / change fonts * fixed rows for fast update

Library finished! :-) If you use 5110 and need fast menus - try this library. No overhead - small and robust, optimized for this display type only, fast update. Nice looking font. Power management. Displays from 5110 and 3110 are cheap as dirt :-)

Revision:
4:82917c164f2b
Parent:
3:03c7cb24222d
Child:
5:c37e5454bdb2
diff -r 03c7cb24222d -r 82917c164f2b medvdv5110.h
--- a/medvdv5110.h	Fri Dec 07 21:53:31 2012 +0000
+++ b/medvdv5110.h	Mon Apr 08 07:18:52 2013 +0000
@@ -1,7 +1,6 @@
 //
 // 5110 LCD Driver
-// (c) 2012 medvdv.com  
-// Alexander Medvedev
+// (c) 2012 @medvdv - Alexander Medvedev
 //
  
 //   
@@ -70,9 +69,10 @@
     void Write(char* data, int size);       // 'size' 8bit rows
     void Write2(char* data, int size);      // Bold: 'size' 8bit rows * 2   
     
-    // Character drawing
-    void Character(char chr);               // Draw one font character with invert and bold opt-s
-    int CharacterWidth(char chr);           // Calculate one character width with bold opt-n
+    // Character drawing  
+    void Character(char chr);               // Draw one font character (with invert and bold opt-s)
+                                            // ! automaticaly does next line if char is wider then space left 
+    int CharacterWidth(char chr);           // Calculate one character width (with bold opt-n)
 
     // String drawing
     void String(char* str);                 // Draw string proportionally