Simple library for interfacing to Nokia 5110 LCD display (as found on the SparkFun website). - koristen softverski SPI umjesto hardverskog
Fork of N5110 by
Diff: N5110.h
- Revision:
- 7:9efee30ed6d3
- Parent:
- 6:adb79338d40f
diff -r adb79338d40f -r 9efee30ed6d3 N5110.h --- a/N5110.h Mon Jan 27 18:41:45 2014 +0000 +++ b/N5110.h Fri May 20 23:23:46 2016 +0000 @@ -8,6 +8,8 @@ #ifndef N5110_H #define N5110_H +#include "SWSPI.h" + // Command Bytes - taken from Chris Yan's library // More information can be found in the display datasheet // H = 0 - Basic instructions @@ -207,7 +209,7 @@ unsigned char buffer[84][6]; // screen buffer - the 6 is for the banks - each one is 8 bits; private: // private variables - SPI* spi; + SWSPI* spi; PwmOut* led; DigitalOut* pwr; DigitalOut* sce;