SDFileSystem test for FRDM-KL25Z
Dependencies: SDFileSystem mbed
Fork of SDFileSystem_HelloWorld by
Diff: main.cpp
- Revision:
- 1:f9fb0a1c21e1
- Parent:
- 0:bdbd3d6fc5d5
--- a/main.cpp Fri Dec 07 11:25:01 2012 +0000 +++ b/main.cpp Fri May 31 02:40:33 2013 +0000 @@ -1,8 +1,16 @@ #include "mbed.h" #include "SDFileSystem.h" -SDFileSystem sd(p5, p6, p7, p8, "sd"); // the pinout on the mbed Cool Components workshop board - +// PTD0 D10 – Used for CS of SPI +// PTD2 D11 – Used for MOSI of SPI +// PTD3 D12 – Used for MISO of SPI +// PTC5 – Used for SCK of SPI + +// PTC5 is also usable as SCK (J1/09) + +// MOSI, MISO, SCLK, CS, name +SDFileSystem sd(PTD2, PTD3, PTC5, PTD0, "sd"); + int main() { printf("Hello World!\n");