Library for interfacing to Nokia 5110 LCD display (as found on the SparkFun website). Used & amended by D.Leaming, University of Lincoln, December 2021 v01

Revision:
52:09994ce3be7b
Parent:
51:32f9ffeafb6d
Child:
53:200be703ee3b
--- a/N5110.cpp	Wed Jan 22 13:17:33 2020 +0000
+++ b/N5110.cpp	Thu Dec 02 22:21:00 2021 +0000
@@ -56,8 +56,9 @@
 void N5110::init()
 {
     turnOn();     // power up
+      wait_ms(10);  // small delay seems to prevent spurious pixels during mbed reset
     reset();      // reset LCD - must be done within 100 ms
-    initSPI();    
+   // initSPI();    
     
     setContrast(0.55);  // this may need tuning (say 0.4 to 0.6)
     setBias(3);   // datasheet - 48:1 mux - don't mess with if you don't know what you're doing! (0 to 7)