a

Dependencies:   mbed

Fork of TextLCD_HelloWorld by Simon Ford

Revision:
3:4a39f290a99c
Parent:
2:ad0b044d0a10
--- a/main.cpp	Sat Dec 04 11:31:07 2010 +0000
+++ b/main.cpp	Wed Mar 20 10:08:05 2013 +0000
@@ -3,8 +3,17 @@
 #include "mbed.h"
 #include "TextLCD.h"
 
-TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d4-d7
+TextLCD lcd(p24, p25, p26, p27, p28, p29, p30); // rs, e, d4-d7
 
 int main() {
+    int count = 0;
+
     lcd.printf("Hello World!\n");
+    
+    while(1) {
+        lcd.locate(8,1);
+        lcd.printf("%04d",count);
+        count++;
+        wait(1.0);
+    }
 }