Demo of using an SD Card (FAT Filing Systems)
Dependencies: ELEC350-Practicals-FZ429
Fork of SD_Card_OS by
Revision 4:61f070bd5915, committed 2017-12-06
- Comitter:
- noutram
- Date:
- Wed Dec 06 11:19:47 2017 +0000
- Parent:
- 3:22f260c7e6cf
- Child:
- 5:6efcc2b8ce26
- Commit message:
- changed MOSI pin to PB_5
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Nov 22 16:05:26 2017 +0000 +++ b/main.cpp Wed Dec 06 11:19:47 2017 +0000 @@ -6,7 +6,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()
