SD card functionality

Dependents:   ELEC350_Project2 SDcard

Committer:
Swabey89
Date:
Fri Nov 09 17:56:55 2018 +0000
Revision:
3:c6e5dd2faa22
Parent:
2:9a5eea2adbf8
Child:
4:dc767b5f917b
SD card now has new functions, one will write the sampled data to the SD card

Who changed what in which revision?

UserRevisionLine numberNew 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 3:c6e5dd2faa22 9 extern EventQueue SDqueue;
Swabey89 0:0fc2cf27ff9e 10
Swabey89 0:0fc2cf27ff9e 11 void SDcard(void);
Swabey89 1:c3af0c26ded2 12 void SDread(int n);
Swabey89 3:c6e5dd2faa22 13 void SDaddSample(double temp, double pressure);
Swabey89 2:9a5eea2adbf8 14 void SDdelete(int n);
Swabey89 1:c3af0c26ded2 15 void SDalive(void);
Swabey89 0:0fc2cf27ff9e 16
Swabey89 0:0fc2cf27ff9e 17 #endif