test file

Dependencies:   TextLCD mbed

Fork of TextLCD_HelloWorld by Srinivasan Ramasamy

Revision:
3:bae19bde97d5
Parent:
2:ad0b044d0a10
Child:
4:76169678e056
Child:
5:1ad7d56050dd
diff -r ad0b044d0a10 -r bae19bde97d5 main.cpp
--- a/main.cpp	Sat Dec 04 11:31:07 2010 +0000
+++ b/main.cpp	Sat Apr 13 07:03:04 2013 +0000
@@ -5,6 +5,14 @@
 
 TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d4-d7
 
-int main() {
+int main() 
+{
+while (1){
+    lcd.printf(" This is 16x2!\n");
+    lcd.printf("Jello World!\n");
+    wait(1);
+    lcd.printf("Jello World!  \n");
     lcd.printf("Hello World!\n");
+    wait(1);
 }
+}