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

Dependents:   LV7_LCDtest LV7_Grupa5_Tim003_Zadatak1 lv7_Grupa5_Tim008_zad1 LV7_PAI_Grupa5_tim10_Zadatak1 ... more

This library is designed to make it easy to interface an mbed with a Nokia 5110 LCD display.

These can be found at Sparkfun (https://www.sparkfun.com/products/10168) and Adafruit (http://www.adafruit.com/product/338).

The library uses the SPI peripheral on the mbed which means it is much faster sending data to the display than other libraries available on other platforms that use software SPI.

The library can print strings as well as controlling individual pixels, meaning that both text and primitive graphics can be displayed.

Revision:
49:93355c01e261
Parent:
47:2eb1a863ebed
Child:
50:e73cd097fdcb
--- a/N5110.cpp	Wed Feb 21 09:35:25 2018 +0000
+++ b/N5110.cpp	Mon Mar 19 13:44:23 2018 +0000
@@ -59,7 +59,7 @@
     reset();      // reset LCD - must be done within 100 ms
     initSPI();    
     
-    setContrast(0.40);  // this may need tuning (say 0.4 to 0.6)
+    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)
     setTempCoefficient(0); // datasheet - may need increasing (range 0 to 3) at very low temperatures
     normalMode();  // normal video mode by default