Text LCD "Hello"

Dependencies:   TextLCD mbed

Fork of Text_LCD_Hello by toshio masuda

Revision:
0:41c8fde7347e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue May 14 10:38:01 2013 +0000
@@ -0,0 +1,29 @@
+#include "mbed.h"
+#include "TextLCD.h"
+
+TextLCD lcd(p24, p26, p27, p28, p29, p30);      // rs, e, d0-d3
+//  In BoardOrange, the "RW" signal is unnecessary.
+
+/////////////////////////////////////////////////////
+//      main
+/////////////////////////////////////////////////////
+int main(void) {
+
+    lcd.cls();
+
+    while(1) {
+
+        lcd.cls();
+        wait(1);
+
+        lcd.locate(0,0);
+        lcd.printf("Hello");
+        wait(1);
+
+        lcd.locate(0,1);
+        lcd.printf("mbed");
+        wait(1);
+    }
+
+    return 0;
+}
\ No newline at end of file