sfgb
Dependencies: SDFileSystem mbed
Fork of nucleo_sdcard by
Revision 1:b8b1257a7769, committed 2016-10-02
- Comitter:
- core201608
- Date:
- Sun Oct 02 08:28:20 2016 +0000
- Parent:
- 0:b0bc1d4fe0d4
- Commit message:
- ??????;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b0bc1d4fe0d4 -r b8b1257a7769 main.cpp --- 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");