123

Dependencies:   mbed

Revision:
0:3c8241f877e9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Oct 01 22:28:19 2019 +0000
@@ -0,0 +1,24 @@
+#include <stdio.h>
+#include "mbed.h" 
+#include "LocalFileSystem.h"
+
+LocalFileSystem local("local");
+
+int main()
+{
+    FILE *fp;
+ 
+    printf("testing\n");
+ 
+    fp = fopen("/test.txt","w");
+   
+    if(fp)
+        printf("opened\n");
+    else
+        printf("not opened\n");
+   
+   
+    fprintf(fp, "This is testing for fprintf...\n");
+    fputs("This is testing for fputs...\n", fp);
+    fclose(fp);
+}
\ No newline at end of file