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:
8:40abe5736eca
Parent:
7:3010f24e0a81
Child:
10:6f3abb40202b
--- a/N5110.h	Mon May 19 18:23:21 2014 +0000
+++ b/N5110.h	Mon May 19 18:45:48 2014 +0000
@@ -193,6 +193,15 @@
     *   TODO: Randomise the seed - maybe using the noise on the AnalogIn pins.
     */
     void randomiseBuffer();
+    
+    /** Plot Array
+    *
+    *   This function plots a one-dimensional array on the display. The values in the array
+    *   correspond to the y values of the plot and these are plotted along the x-axis (one
+    *   value per pixel along the x-axis of the display. This means only the first 84 values are 
+    *   plotted. y values in the array should be normalised in the range 0.0 to 1.0. 
+    */
+    void plotArray(float array[]);
 
 private:
     void initSPI();