This is Petit FAT File System Module for mbed NXP LPC1768. The ported library from http://elm-chan.org/fsw/ff/00index_p.html made by Mr. ChaN. The connection is same as SDCard library here http://mbed.org/projects/cookbook/wiki/SDCard . If you need change a pin, You can find the definition at libpff/connect.h :)
Diff: libpff/connect.h
- Revision:
- 1:a24950493dec
- Parent:
- 0:b5453be5ad07
diff -r b5453be5ad07 -r a24950493dec libpff/connect.h --- a/libpff/connect.h Tue Jun 01 12:23:29 2010 +0000 +++ b/libpff/connect.h Fri Jun 04 23:47:39 2010 +0000 @@ -4,7 +4,7 @@ #define CONNECT_MISO p6 #define CONNECT_SCK p7 #define CONNECT_CS p13 -#define SPI_FREQ 2000000 +#define SPI_FREQ 400000 #define _CONNECT_H_ #endif