SD card functionality
Dependents: ELEC350_Project2 SDcard
Diff: SDCard.hpp
- Revision:
- 15:e1f62dd17e3c
- Parent:
- 13:5f786448e883
- Child:
- 17:c9ac3fc764b9
diff -r 8e92eb9fc088 -r e1f62dd17e3c SDCard.hpp --- a/SDCard.hpp Fri Dec 28 12:05:03 2018 +0000 +++ b/SDCard.hpp Wed Jan 02 19:45:11 2019 +0000 @@ -27,10 +27,17 @@ extern int32_t Nsamples; extern int32_t Nspaces; extern Semaphore spaceAvailable; +extern void LCD_sdcardmount(string text, float waittime); + +extern Semaphore samplesInBuffer; + +//TEST FOR PRINTF +extern EventQueue printfqueue; void SDcard(void); void SDread(int n); -void SDaddSample(double temp, double pressure); +void SDaddSample(string timedata, double temp, double pressure, float light, int buffind); +//void SDaddSample(void); void SDdelete(int n); void SDalive(void);