Simple library for interfacing to Nokia 5110 LCD display (as found on the SparkFun website). revised to clear a circle when required with typecirc integer

Dependents:   L2_2645_project Space_Teroid_Game

Fork of N5110 by Craig Evans


RevisionDateWhoCommit message
21:0d89b8c6cf61 2015-05-08 wray2303 updated library; default tip
20:ba8addc061ea 2015-04-23 eencae 1) Replaced literal values in library with WIDTH, HEIGHT, BANKS etc.; 2) User now needs to manually call refresh() after drawing lines/circles/rects. Was previously in drawLine() and so sent the entire buffer to display after every line - very slow.
19:1af393359298 2015-04-22 eencae printString() and printChar() updated so that strings/chars are cut-off after the 83rd pixel and fit on the display. Previously this would cause the buffer array to go out of bounds and cause a crash.
18:7aaa6802ce64 2015-05-08 wray2303 pre-update
17:780a542d5f8b 2015-03-17 eencae Added functions for drawing primitive shapes (lines, circles and rectangles). Can draw white, black and dotted lines. Can draw transparent (with outline), black fill and white fill circles and rectangles.
16:b37a3a260598 2015-03-10 eencae Updated docs.
15:ee645611ff94 2015-03-10 eencae (none)
14:520a02fc12aa 2015-03-10 eencae Expanded example and modified printChar().
13:908644099648 2015-03-10 eencae 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.
12:022993561fd8 2015-03-10 eencae clear() method now clears on-board RAM on LCD.
11:fc7d89b33e4c 2014-09-17 eencae Changed LED pin number to match custom PCB.
10:6f3abb40202b 2014-07-16 eencae Added example code to show how to use sprintf() to print data variables on the display.
9:7701f0126ba7 2014-05-20 eencae 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.
8:40abe5736eca 2014-05-19 eencae Added plot function (untested).
7:3010f24e0a81 2014-05-19 eencae 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.
6:adb79338d40f 2014-01-27 eencae 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.
5:6ea180eef702 2014-01-26 eencae Updated docs.
4:e923c54c1c7d 2014-01-26 eencae Updated docs.
3:f90dd1042d17 2014-01-26 eencae Added documentation.
2:e93021cfb0a9 2014-01-26 eencae Added documentation and additional testing.
1:df68f34cd32d 2014-01-26 eencae Started to add documentation. This commit is to test the publishing and documentation.
0:d563e74f0ae9 2014-01-26 eencae Initial commit of library.; ; Testing and documentation to do.