Simple library for interfacing to Nokia 5110 LCD display (as found on the SparkFun website). Edited to include additional feaatures, such as 2d array loading, multiple screen buffers, and better backlight control
Dependencies: N5110
Fork of N5110 by
Diff: N5110.cpp
- Revision:
- 10:6f3abb40202b
- Parent:
- 9:7701f0126ba7
- Child:
- 12:022993561fd8
- Child:
- 13:908644099648
--- a/N5110.cpp Tue May 20 19:43:52 2014 +0000 +++ b/N5110.cpp Wed Jul 16 08:42:27 2014 +0000 @@ -72,7 +72,7 @@ { setBrightness(0.0); // turn backlight off clearRAM(); // clear RAM to ensure specified current consumption - // send command to ensure we are in basic model + // send command to ensure we are in basic mode sendCommand(0x20 | CMD_FS_ACTIVE_MODE | CMD_FS_HORIZONTAL_MODE | CMD_FS_BASIC_MODE); // clear the display sendCommand(CMD_DC_CLEAR_DISPLAY);