Lab 3 Mark Roche

Revision:
2:0f36a8081ee1
Child:
3:41c5f0a3b25d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Apr 21 21:05:56 2022 +0000
@@ -0,0 +1,9 @@
+#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