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:
- 2:e93021cfb0a9
- Parent:
- 1:df68f34cd32d
- Child:
- 3:f90dd1042d17
--- a/N5110.cpp Sun Jan 26 19:30:09 2014 +0000 +++ b/N5110.cpp Sun Jan 26 20:06:58 2014 +0000 @@ -1,6 +1,7 @@ #include "mbed.h" #include "N5110.h" + N5110::N5110(PinName pwrPin, PinName scePin, PinName rstPin, PinName dcPin, PinName mosiPin, PinName sclkPin, PinName ledPin) { @@ -15,6 +16,7 @@ } + void N5110::init() { turnOn(); // power up