SD card functionality
Dependents: ELEC350_Project2 SDcard
SDCard.hpp@1:c3af0c26ded2, 2018-11-07 (annotated)
- Committer:
- Swabey89
- Date:
- Wed Nov 07 19:56:55 2018 +0000
- Revision:
- 1:c3af0c26ded2
- Parent:
- 0:0fc2cf27ff9e
- Child:
- 2:9a5eea2adbf8
SDread will take arguments on how many samples to read.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Swabey89 | 1:c3af0c26ded2 | 1 | #ifndef __SD_CARD__ |
Swabey89 | 1:c3af0c26ded2 | 2 | #define __SD_CARD__ |
Swabey89 | 0:0fc2cf27ff9e | 3 | |
Swabey89 | 0:0fc2cf27ff9e | 4 | #include "mbed.h" |
Swabey89 | 0:0fc2cf27ff9e | 5 | #include "sample_hardware.hpp" |
Swabey89 | 1:c3af0c26ded2 | 6 | #include "serial_terminal.hpp" |
Swabey89 | 1:c3af0c26ded2 | 7 | #include "mbed_events.h" |
Swabey89 | 1:c3af0c26ded2 | 8 | |
Swabey89 | 1:c3af0c26ded2 | 9 | extern EventQueue queue; |
Swabey89 | 0:0fc2cf27ff9e | 10 | |
Swabey89 | 0:0fc2cf27ff9e | 11 | void SDcard(void); |
Swabey89 | 1:c3af0c26ded2 | 12 | void SDread(int n); |
Swabey89 | 1:c3af0c26ded2 | 13 | void SDalive(void); |
Swabey89 | 0:0fc2cf27ff9e | 14 | |
Swabey89 | 0:0fc2cf27ff9e | 15 | #endif |