kiban honpo / Mbed 2 deprecated Text_LCD_Hello

Dependencies:   TextLCD mbed

Fork of Text_LCD_Hello by toshio masuda

Files at this revision

API Documentation at this revision

Comitter:
MasudaToshio
Date:
Tue May 14 10:38:01 2013 +0000
Commit message:
Test LCD "Hello"

Changed in this revision

TextLCD.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 41c8fde7347e TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Tue May 14 10:38:01 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37
diff -r 000000000000 -r 41c8fde7347e main.cpp
--- /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
diff -r 000000000000 -r 41c8fde7347e mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue May 14 10:38:01 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/10b9abbe79a6
\ No newline at end of file