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.
Dependencies: TextLCD mbed SDFileSystem
Revision 0:bd60a27d6122, committed 2011-05-07
- Comitter:
- yueee_yt
- Date:
- Sat May 07 12:11:13 2011 +0000
- Commit message:
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/FATFileSystem.lib Sat May 07 12:11:13 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_unsupported/code/fatfilesystem/ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SDFileSystem.lib Sat May 07 12:11:13 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/simon/code/SDFileSystem/#b1ddfc9a9b25
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Sat May 07 12:11:13 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Sat May 07 12:11:13 2011 +0000
@@ -0,0 +1,24 @@
+#include "mbed.h"
+#include "TextLCD.h"
+#include "SDFileSystem.h"
+
+TextLCD lcd(p24, p26, p27, p28, p29, p30);
+SDFileSystem sd(p5, p6, p7, p8, "sd");
+
+int main(void) {
+ DIR *d;
+ struct dirent *p;
+ lcd.cls();
+ d = opendir("/sd");
+ if ( d != NULL )
+ {
+ while ( (p = readdir(d)) != NULL )
+ {
+ lcd.printf("%s \n", p->d_name);
+ wait(0.5);
+ }
+ }
+ lcd.locate(0,1);
+ lcd.printf("** Finish ** ");
+ return 0;
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sat May 07 12:11:13 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912