Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 | 
--- 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();
+    }
 }
    