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

Fork of N5110 by Craig Evans

History

Final version default tip

2016-05-06, by el14cs [Fri, 06 May 2016 05:42:25 +0000] rev 21

Final version


final version

2016-05-06, by el14cs [Fri, 06 May 2016 05:38:04 +0000] rev 20

final version


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.

2015-04-23, by eencae [Thu, 23 Apr 2015 18:57:52 +0000] rev 19

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.


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.

2015-04-22, by eencae [Wed, 22 Apr 2015 12:41:45 +0000] rev 18

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.


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.

2015-03-17, by eencae [Tue, 17 Mar 2015 12:56:03 +0000] rev 17

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.


Updated docs.

2015-03-10, by eencae [Tue, 10 Mar 2015 19:33:55 +0000] rev 16

Updated docs.


2015-03-10, by eencae [Tue, 10 Mar 2015 19:23:56 +0000] rev 15


Expanded example and modified printChar().

2015-03-10, by eencae [Tue, 10 Mar 2015 19:21:47 +0000] rev 14

Expanded example and modified printChar().


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.

2015-03-10, by eencae [Tue, 10 Mar 2015 19:18:20 +0000] rev 13

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.


clear() method now clears on-board RAM on LCD.

2015-03-10, by eencae [Tue, 10 Mar 2015 18:09:37 +0000] rev 12

clear() method now clears on-board RAM on LCD.