Simple library for interfacing to Nokia 5110 LCD display (as found on the SparkFun website). Created by Craig A. Evans, University of Leeds.

Fork of N5110 by Craig Evans

History

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. default tip

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

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 19

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.


PRE UP AND DOWN

2015-04-23, by el13drt [Thu, 23 Apr 2015 18:41:22 +0000] rev 18

PRE UP AND DOWN


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.


Changed LED pin number to match custom PCB.

2014-09-17, by eencae [Wed, 17 Sep 2014 11:35:50 +0000] rev 11

Changed LED pin number to match custom PCB.