n

Dependencies:   mbed

Revision:
0:14179e8daf60
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Jul 04 18:59:28 2014 +0000
@@ -0,0 +1,10 @@
+
+#include "mbed.h"
+ 
+LocalFileSystem local("local");               // Create the local filesystem under the name "local"
+ 
+int main() {
+    FILE *fp = fopen("/local/out.txt", "w");  // Open "out.txt" on the local file system for writing
+    fprintf(fp, "Hello World!");
+    fclose(fp);
+    }
\ No newline at end of file