main_cpp file removed. SDHC support till 32GB

Dependencies:   FatFileSystem mbed

Dependents:   Spy_Robot_Complete

Fork of SDHCFileSystem by Klaus Bu

main.cpp

Committer:
xxll
Date:
2010-07-24
Revision:
0:90601632692f
Child:
1:0cf4fe998c40

File content as of revision 0:90601632692f:

 #include "mbed.h"
 #include "string"
 #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);
 }