Simple library for interfacing to Nokia 5110 LCD display (as found on the SparkFun website).
Dependents: Labirint_Emir_Anesa
Fork of N5110 by
Revision 10:08bed723456e, committed 2014-06-09
- Comitter:
- tim008
- Date:
- Mon Jun 09 08:03:18 2014 +0000
- Parent:
- 9:7701f0126ba7
- Commit message:
- Projekat: Labirint; Anesa Drakovac; Emir Muja?i?
Changed in this revision
N5110.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7701f0126ba7 -r 08bed723456e N5110.cpp --- 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