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 Text_LCD_Hello by
Revision 0:41c8fde7347e, committed 2013-05-14
- Comitter:
- MasudaToshio
- Date:
- Tue May 14 10:38:01 2013 +0000
- Commit message:
- Test LCD "Hello"
Changed in this revision
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
