main_cpp file removed. SDHC support till 32GB
Dependencies: FatFileSystem mbed
Dependents: Spy_Robot_Complete
Fork of SDHCFileSystem by
main.cpp@1:0cf4fe998c40, 2016-12-11 (annotated)
- Committer:
- kennyainny
- Date:
- Sun Dec 11 20:34:03 2016 +0000
- Revision:
- 1:0cf4fe998c40
- Parent:
- 0:90601632692f
troublesome 'main' file removed
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kennyainny | 1:0cf4fe998c40 | 1 | // #include "mbed.h" |
kennyainny | 1:0cf4fe998c40 | 2 | //#include "string" |
kennyainny | 1:0cf4fe998c40 | 3 | //#include "SDHCFileSystem.h" |
xxll | 0:90601632692f | 4 | |
kennyainny | 1:0cf4fe998c40 | 5 | // SDFileSystem sd(p5, p6, p7, p8, "sd"); // mosi, miso, sclk, cs |
xxll | 0:90601632692f | 6 | |
kennyainny | 1:0cf4fe998c40 | 7 | //int main() { |
xxll | 0:90601632692f | 8 | |
kennyainny | 1:0cf4fe998c40 | 9 | // FILE *fp = fopen("/sd/myfile.txt", "w"); |
kennyainny | 1:0cf4fe998c40 | 10 | // fprintf(fp, "\n\rHello World!\n\r"); |
kennyainny | 1:0cf4fe998c40 | 11 | // fclose(fp); |
kennyainny | 1:0cf4fe998c40 | 12 | //} |