Time: 17:33 Date: 10/12/2017 Description: Task 1,7,8 Currently Functioning
Dependencies: BME280 BMP280 TextLCD
Working Repository
Diff: SD_CARD.hpp
- Revision:
- 49:d51f96a46cc3
- Parent:
- 48:244d6d81bb52
--- a/SD_CARD.hpp Tue Jan 09 00:37:01 2018 +0000 +++ b/SD_CARD.hpp Tue Jan 09 11:41:07 2018 +0000 @@ -3,13 +3,19 @@ #include "mbed.h" #include "rtos.h" +#include <iostream> +#include <fstream> #include "FIFO.hpp" #include "SERIAL.hpp" #include "sample_hardware.hpp" + +#define SD_CARD_WRITE 1 +#define DONT_WRITE_TO_SD_CARD 0 extern FILE* fp; void SD_Init();//Initialised the SD CARD void SD_Card_Write(); extern void SD_Card_Eject(); +extern bool SD_Write; extern InterruptIn SD_CARD_DETECT; #endif \ No newline at end of file