Rewrite the NokiaLCD lib with SWSPI lib in order to fit in with 9 bits SPI mode
Diff: NokiaLCD_SWSPI.cpp
- Revision:
- 2:046bfae72c0c
- Parent:
- 1:133b9b91ca6b
--- a/NokiaLCD_SWSPI.cpp Wed Feb 19 04:18:43 2014 +0000 +++ b/NokiaLCD_SWSPI.cpp Fri Feb 21 00:04:26 2014 +0000 @@ -99,14 +99,14 @@ case PCF8833: command(0x11); // sleep out - command(0x13); // normal mode (not in original Nokia lib) + command(0x13); // normal mode (not in original NokiaLCD lib) command(0x20); // INVON (not in original NokiaLCD lib) command(0x3A); // column mode data(0x05); //0x05 in original NokiaLCD lib command(0x36); // madctl data(0xC8); // vertical RAM, flip x, 0x60 in original NokiaLCD lib command(0x25); // setcon - data(0x30);// contrast 0x30 + data(0x40);// contrast 0x30 wait_ms(2); command(0x29);//DISPON command(0x03);//BSTRON