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

Fork of N5110 by Craig Evans

Revision:
20:91e0cffbdc53
Parent:
19:ba8addc061ea
Child:
21:eb1b50c35940
--- a/N5110.h	Thu Apr 23 18:57:52 2015 +0000
+++ b/N5110.h	Fri May 06 05:38:04 2016 +0000
@@ -188,6 +188,8 @@
     *   Needs to be reinitialised before being re-used.
     */
     void turnOff();
+    
+    void turnOn();
 
     /** Clears
     *
@@ -319,7 +321,7 @@
 
     void setXYAddress(int x, int y);
     void initSPI();
-    void turnOn();
+    //void turnOn();
     void reset();
     void clearRAM();
     void clearBuffer();
@@ -328,11 +330,12 @@
 
 public:
     unsigned char buffer[84][6];  // screen buffer - the 6 is for the banks - each one is 8 bits;
+    DigitalOut* pwr;
 
 private:  // private variables
     SPI*    spi;
     PwmOut* led;
-    DigitalOut* pwr;
+    //DigitalOut* pwr;
     DigitalOut* sce;
     DigitalOut* rst;
     DigitalOut* dc;