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

Dependents:   BrickBreaker

Fork of N5110 by Craig Evans

Revision:
20:07627b054c2d
Parent:
19:ba8addc061ea
Child:
21:a604dfa3bf7a
--- a/N5110.h	Thu Apr 23 18:57:52 2015 +0000
+++ b/N5110.h	Wed Apr 29 10:31:44 2015 +0000
@@ -58,7 +58,7 @@
 #include "mbed.h"
 #include "N5110.h"
 
-//    VCC,SCE,RST,D/C,MOSI,SCLK,LED
+//    VCC,SCE,RST,D/C,MOSI,SCLK,LED 
 N5110 lcd(p7,p8,p9,p10,p11,p13,p21);
 // Can also power (VCC) directly from VOUT (3.3 V) -
 // Can give better performance due to current limitation from GPIO pin
@@ -313,7 +313,15 @@
     *   @param  fill - 0 transparent (w/outline), 1 filled black, 2 filled white (wo/outline)
     */
     void drawRect(int x0,int y0,int width,int height,int fill);
-
+    
+    /** Clear Rectangle
+    *   Function to clear a rectangular space.
+    *   @param  x0 - x-coordinate of origin (top-left)
+    *   @param  y0 - y-coordinate of origin (top-left)
+    *   @param  width - width of rectangle
+    *   @param  height - height of rectangle
+    */
+    void clearRect(int x0,int y0,int width,int height);
 
 private: