Simon Ford
/
NokiaLCD_HelloWorld
Hello World Example for the Nokia LCD library
Revision 1:823d052d5150, committed 2010-11-19
- Comitter:
- simon
- Date:
- Fri Nov 19 22:16:33 2010 +0000
- Parent:
- 0:fd3c4e179035
- Commit message:
- Set for newest sparkfun breakout
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r fd3c4e179035 -r 823d052d5150 main.cpp --- a/main.cpp Wed Jun 09 08:02:57 2010 +0000 +++ b/main.cpp Fri Nov 19 22:16:33 2010 +0000 @@ -1,7 +1,10 @@ +// Hello World! for Nokia LCD, sford +// - LCD6610 is for newest Sparkfun breakout + #include "mbed.h" #include "NokiaLCD.h" -NokiaLCD lcd(p5, p7, p8, p9); // mosi, sclk, cs, rst +NokiaLCD lcd(p5, p7, p8, p9, NokiaLCD::LCD6610); // mosi, sclk, cs, rst, type int main() { lcd.background(0x0000FF);