![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
main.cpp
- Committer:
- joosttromp
- Date:
- 2011-06-17
- Revision:
- 0:aa9931e79e3f
File content as of revision 0:aa9931e79e3f:
#include "mbed.h" #include "SDHCFileSystem.h" SDFileSystem sd(p5, p6, p7, p8, "sd"); // mosi, miso, sclk, cs int main() { FILE *fp = fopen("/sd/myfile.txt", "w"); fprintf(fp, "\n\rHello World!\n\r"); fclose(fp); }