![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Time: 17:33 Date: 10/12/2017 Description: Task 1,7,8 Currently Functioning
Dependencies: BME280 BMP280 TextLCD
Working Repository
SD_CARD.hpp@50:3d61ca637399, 2018-01-09 (annotated)
- Committer:
- thomasmorris
- Date:
- Tue Jan 09 12:19:12 2018 +0000
- Revision:
- 50:3d61ca637399
- Parent:
- 49:d51f96a46cc3
Dynamic Dating Working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thomasmorris | 47:6d128e500875 | 1 | #ifndef SD_CARD_HPP |
thomasmorris | 47:6d128e500875 | 2 | #define SD_CARD_HPP |
thomasmorris | 47:6d128e500875 | 3 | |
thomasmorris | 47:6d128e500875 | 4 | #include "mbed.h" |
thomasmorris | 47:6d128e500875 | 5 | #include "rtos.h" |
thomasmorris | 49:d51f96a46cc3 | 6 | #include <iostream> |
thomasmorris | 49:d51f96a46cc3 | 7 | #include <fstream> |
thomasmorris | 47:6d128e500875 | 8 | #include "FIFO.hpp" |
thomasmorris | 47:6d128e500875 | 9 | #include "SERIAL.hpp" |
thomasmorris | 48:244d6d81bb52 | 10 | #include "sample_hardware.hpp" |
thomasmorris | 49:d51f96a46cc3 | 11 | |
thomasmorris | 49:d51f96a46cc3 | 12 | #define SD_CARD_WRITE 1 |
thomasmorris | 49:d51f96a46cc3 | 13 | #define DONT_WRITE_TO_SD_CARD 0 |
thomasmorris | 48:244d6d81bb52 | 14 | extern FILE* fp; |
thomasmorris | 47:6d128e500875 | 15 | void SD_Init();//Initialised the SD CARD |
thomasmorris | 47:6d128e500875 | 16 | void SD_Card_Write(); |
thomasmorris | 48:244d6d81bb52 | 17 | extern void SD_Card_Eject(); |
thomasmorris | 49:d51f96a46cc3 | 18 | extern bool SD_Write; |
thomasmorris | 47:6d128e500875 | 19 | |
thomasmorris | 48:244d6d81bb52 | 20 | extern InterruptIn SD_CARD_DETECT; |
thomasmorris | 47:6d128e500875 | 21 | #endif |