BoardOrange Test Program 2013/08/13 SD -> SDHC 対応
Dependencies: EthernetNetIf FATFileSystem HTTPServer MSCFileSystem_Lib TextLCD mbed
Fork of BoardOrange_Test by
main.cpp
- Committer:
- xxll
- Date:
- 2010-07-24
- Revision:
- 0:90601632692f
- Child:
- 1:ddba0c9b886a
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); }