Simple Hello World! for the TextLCD library
Fork of TextLCD_HelloWorld by
Revision 3:9af81be68edc, committed 2013-04-10
- Comitter:
- cstevens
- Date:
- Wed Apr 10 11:48:13 2013 +0000
- Parent:
- 2:ad0b044d0a10
- Commit message:
- TextLCD demo for FRDM board
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Dec 04 11:31:07 2010 +0000 +++ b/main.cpp Wed Apr 10 11:48:13 2013 +0000 @@ -3,8 +3,11 @@ #include "mbed.h" #include "TextLCD.h" -TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d4-d7 +//TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d4-d7 +TextLCD lcd(PTC12,PTC13,PTC16,PTC17,PTA16,PTA17); // rs, e, d4-d7 int main() { lcd.printf("Hello World!\n"); + lcd.locate(0,1); + lcd.printf("Yippee\n"); }
--- a/mbed.bld Sat Dec 04 11:31:07 2010 +0000 +++ b/mbed.bld Wed Apr 10 11:48:13 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e +http://mbed.org/users/mbed_official/code/mbed/builds/5e5da4a5990b \ No newline at end of file