sfgb
Dependencies: SDFileSystem mbed
Fork of nucleo_sdcard by
Diff: main.cpp
- Revision:
- 1:b8b1257a7769
- Parent:
- 0:b0bc1d4fe0d4
--- a/main.cpp Tue Feb 09 08:43:49 2016 +0000 +++ b/main.cpp Sun Oct 02 08:28:20 2016 +0000 @@ -1,7 +1,23 @@ +/* +説明 +Nucleo-F303K8とMicroSDを使ったデータ保存のサンプルプログラム + +ライブラリ +https://developer.mbed.org/teams/mbed/code/SDFileSystem/ + +以下ピン配置 +Nucleo SDモジュール +GND-----VSS-----------0V ++3V3----VDD +D11-----CMD +D12-----DAT0 +D13-----CLK +D9------CD +*/ #include "mbed.h" #include "SDFileSystem.h" -SDFileSystem sd(D11, D12, D13, D4, "sd"); // the pinout on the mbed Cool Components workshop board +SDFileSystem sd(D11, D12, D13, D9, "sd"); // the pinout on the mbed Cool Components workshop board int main() { printf("Hello World!\n");