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.

Revisions of N5110.cpp

Revision Date Message Actions
13:908644099648 2015-03-10 Modified printChar() so that the character pixel data is written to the buffer, rather than being sent directly to the display. Means chars and setPixel() can be used together.; ; Expanded example code. File  Diff  Annotate
12:022993561fd8 2015-03-10 clear() method now clears on-board RAM on LCD. File  Diff  Annotate
10:6f3abb40202b 2014-07-16 Added example code to show how to use sprintf() to print data variables on the display. File  Diff  Annotate
9:7701f0126ba7 2014-05-20 printString() has been modified. Rather than sending the string to the display using the printChar(), it now writes the character bitmap data to the screen buffer and refreshes the display. This means that pixels and strings can now be used together. File  Diff  Annotate
8:40abe5736eca 2014-05-19 Added plot function (untested). File  Diff  Annotate
7:3010f24e0a81 2014-05-19 Modified refresh() function so that the address is reset to (0,0) before sending the entire screen buffer to the display. Ensures the origin of the buffer coincides with the top-left pixel. This may not be the case after printing strings. File  Diff  Annotate
6:adb79338d40f 2014-01-27 Documentation complete. Functions are all tested. Note that strings and characters are deleted from the display if the refresh() function is called.; ; TODO:; ; Instead of printing strings and characters to the display, they are written to the buffer. File  Diff  Annotate
5:6ea180eef702 2014-01-26 Updated docs. File  Diff  Annotate
3:f90dd1042d17 2014-01-26 Added documentation. File  Diff  Annotate
2:e93021cfb0a9 2014-01-26 Added documentation and additional testing. File  Diff  Annotate
1:df68f34cd32d 2014-01-26 Started to add documentation. This commit is to test the publishing and documentation. File  Diff  Annotate
0:d563e74f0ae9 2014-01-26 Initial commit of library.; ; Testing and documentation to do. File  Diff  Annotate