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:7647fa87431f, committed 2011-06-10
- Comitter:
- marishi
- Date:
- Fri Jun 10 17:52:47 2011 +0000
- Commit message:
Changed in this revision
diff -r 000000000000 -r 7647fa87431f TextLCD.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Fri Jun 10 17:52:47 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37
diff -r 000000000000 -r 7647fa87431f main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Fri Jun 10 17:52:47 2011 +0000
@@ -0,0 +1,23 @@
+//udenokai sample
+#include "mbed.h"
+#include "TextLCD.h"
+TextLCD lcd(p24, p26, p27, p28, p29, p30); // rs, e, d4-d7
+LocalFileSystem local("local");
+
+const unsigned int MAX_LEN = 256;
+
+int main()
+{
+ FILE *fp = fopen("/local/test.txt","r");
+ if(NULL == fp){
+ lcd.cls();
+ lcd.printf("open error");
+ }
+ char str[MAX_LEN];
+ fgets( str , MAX_LEN-1 , fp );
+
+ lcd.cls();
+ lcd.printf(str);
+
+ fclose(fp);
+}
\ No newline at end of file
diff -r 000000000000 -r 7647fa87431f mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Jun 10 17:52:47 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912