CodeShare
Dependencies: FatFileSystem mbed
Fork of 4180_Lab2_USB by
Diff: main.cpp
- Revision:
- 0:4e756c4c88a7
- Child:
- 1:fca955be2a5b
diff -r 000000000000 -r 4e756c4c88a7 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Sep 13 14:20:21 2010 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" +#include "MSCFileSystem.h" + +MSCFileSystem fs ("fs"); + +int main () { + + FILE *fp = fopen("/fs/hello.txt","w"); + fprintf(fp,"Hello world!\n"); + fclose (fp); + +} \ No newline at end of file