blah

Dependencies:   FATFileSystem

Fork of SDFileSystem by mbed official

Files at this revision

API Documentation at this revision

Comitter:
sherryxy
Date:
Tue Nov 26 19:29:19 2013 +0000
Parent:
2:c8f66dc765d4
Commit message:
length

Changed in this revision

datalogging.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/datalogging.cpp	Tue Nov 26 19:29:19 2013 +0000
@@ -0,0 +1,10 @@
+#include "mbed.h"
+#include "SDFileSystem.h"
+
+    SDFileSystem sd(p5, p6, p7, p12, "sd"); // mosi, miso, sclk, cs
+  
+    int main() {
+      FILE *fp = fopen("/sd/myfile.txt", "w");
+      fprintf(fp, " \n");
+      fclose(fp);
+     }
\ No newline at end of file