Simple library for interfacing to Nokia 5110 LCD display (as found on the SparkFun website).
Dependents: Labirint_Emir_Anesa
Fork of N5110 by
Diff: N5110.cpp
- Revision:
- 10:08bed723456e
- Parent:
- 9:7701f0126ba7
--- a/N5110.cpp Tue May 20 19:43:52 2014 +0000 +++ b/N5110.cpp Mon Jun 09 08:03:18 2014 +0000 @@ -11,7 +11,7 @@ N5110::N5110(PinName pwrPin, PinName scePin, PinName rstPin, PinName dcPin, PinName mosiPin, PinName sclkPin, PinName ledPin) { - spi = new SPI(mosiPin,NC,sclkPin); // create new SPI instance and initialise + spi = new SPI(mosiPin,PTC7,sclkPin); // create new SPI instance and initialise initSPI(); // set up pins as required