
LCD test
Fork of TextLCD_HelloWorld by
Revision 3:319f05b6fe18, committed 2015-09-21
- Comitter:
- timtianyang
- Date:
- Mon Sep 21 04:53:57 2015 +0000
- Parent:
- 2:ad0b044d0a10
- Commit message:
- LCD test;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r ad0b044d0a10 -r 319f05b6fe18 main.cpp --- a/main.cpp Sat Dec 04 11:31:07 2010 +0000 +++ b/main.cpp Mon Sep 21 04:53:57 2015 +0000 @@ -6,5 +6,14 @@ TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d4-d7 int main() { - lcd.printf("Hello World!\n"); + while(1){ + + lcd.printf("Hello World!\n"); + + wait(0.5); + lcd.cls(); + lcd.printf("11111111!\n"); + wait(0.5); + lcd.cls(); + } }