SD Card Demo
Dependencies: ELEC350-Practicals-FZ429
Fork of SD_Card_OS by
Revision 3:528e42a15d44, committed 2017-12-06
- Comitter:
- noutram
- Date:
- Wed Dec 06 14:12:30 2017 +0000
- Parent:
- 2:f1b3a82f7738
- Commit message:
- Changed pin for MISO
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f1b3a82f7738 -r 528e42a15d44 main.cpp --- a/main.cpp Mon Dec 04 16:33:51 2017 +0000 +++ b/main.cpp Wed Dec 06 14:12:30 2017 +0000 @@ -7,7 +7,7 @@ #include "sample_hardware.hpp" //SD Card Object - SDBlockDevice sd(D11, D12, D13, D10); // mosi, miso, sclk, cs + SDBlockDevice sd(PB_5, D12, D13, D10); // mosi, miso, sclk, cs uint8_t block[512] = "Hello World!\n"; int main()