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

Fork of N5110 by Craig Evans

Revision:
44:cd9bc22f656d
Parent:
42:596c207519de
--- a/N5110.h	Tue Mar 21 11:46:14 2017 +0000
+++ b/N5110.h	Wed May 03 12:52:37 2017 +0000
@@ -294,6 +294,13 @@
     *   @param brightness - float in range 0.0 to 1.0
     */
     void setBrightness(float const brightness);
+    
+    /** get Brightness
+    *
+    * Gets brightness of LED backlight
+    * @returns float in range 0.0 to 1.0
+    */
+    float getBrightness();
 
     /** Print String
     *
@@ -304,6 +311,18 @@
     void printString(char const         *str,
                      unsigned int const  x,
                      unsigned int const  y);
+    
+    /** Print flashing string
+    * 
+    * Prints a string of characters to the string buffer. Flashes at the frame interval specified
+    * @param x the coloumn number
+    * @param y the row number
+    * @param framesBeforeUpdate number of frames before changing from nothing to text
+    */                 
+    void printFlashingString(char const         *str,
+                             unsigned int const x,
+                             unsigned int const y,
+                             unsigned int const framesBeforeUpdate);
 
     /** Print Character
     *
@@ -450,6 +469,8 @@
     void clearRAM();
     void sendCommand(unsigned char command);
     void sendData(unsigned char data);
+    int _frameCount;
+    bool _textTransparency;
 };
 
 const unsigned char font5x7[480] = {