Simple library for interfacing to Nokia 5110 LCD display (as found on the SparkFun website).

Dependents:   BrickBreaker

Fork of N5110 by Craig Evans

Revision:
22:5e20f9c16da0
Parent:
21:a604dfa3bf7a
Child:
23:f0f22d06c515
--- a/N5110.h	Fri May 01 09:15:10 2015 +0000
+++ b/N5110.h	Mon May 04 16:02:29 2015 +0000
@@ -229,6 +229,15 @@
     */
     void printChar(char c,int x,int y);
 
+    /** Print Number
+    *   Sends an int to the display at the specified location, formatted as a string
+    *   @param n the number to print
+    *   @param x - the column number (0 to 83)
+    *   @param y - the row number (0 to 5) - the display is split into 6 banks - each bank can be considered a row
+    */
+    
+    void printNum(int n, int x, int y);
+
     /** Set a Pixel
     *
     *   This function sets a pixel in the display. A call to refresh() must be made
@@ -236,6 +245,7 @@
     *   @param  x - the x co-ordinate of the pixel (0 to 83)
     *   @param  y - the y co-ordinate of the pixel (0 to 47)
     */
+    
     void setPixel(int x, int y);
 
     /** Clear a Pixel