blah
Fork of SDFileSystem by
Diff: datalogging.cpp
- Revision:
- 3:fc046022488b
--- /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