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.
Revision 0:4de64ea3fd75, committed 2012-06-17
- Comitter:
- nobuki
- Date:
- Sun Jun 17 03:47:53 2012 +0000
- Commit message:
- Version 1
Changed in this revision
diff -r 000000000000 -r 4de64ea3fd75 TextLCD.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Sun Jun 17 03:47:53 2012 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37
diff -r 000000000000 -r 4de64ea3fd75 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Sun Jun 17 03:47:53 2012 +0000
@@ -0,0 +1,19 @@
+#include "mbed.h"
+#include "TextLCD.h"
+
+TextLCD g_lcd(p15, p16, p17, p18, p19, p20); // RS, E, DB4, DB5, DB6, DB7
+
+int main() {
+ wait(0.001);
+ g_lcd.cls(); wait(0.001);
+ g_lcd.locate(0, 0);
+ g_lcd.printf( "Hello world!");
+
+ int iCounter = 0;
+ while(1) {
+ g_lcd.locate(0, 1);
+ g_lcd.printf( "%d", iCounter );
+ iCounter++;
+ wait(1.0);
+ }
+}
diff -r 000000000000 -r 4de64ea3fd75 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun Jun 17 03:47:53 2012 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/737756e0b479