Repo. for the ELEC351 Coursework - Oliver Thompson

Dependencies:   BMP280 ELEC350-Practicals-FZ429- TextLCD watchdog_RTOS BME280 ntp-client

Revision:
20:2ce28a5032d5
Parent:
19:c3b396b65f2a
--- a/messageStruct.hpp	Thu Dec 13 16:09:54 2018 +0000
+++ b/messageStruct.hpp	Wed Jan 02 12:12:30 2019 +0000
@@ -14,14 +14,24 @@
 
 typedef struct
 {
-   string day; //current day, mon - sun
-   string month; //current month, jan - dec
-   string date; //current date, 1-31
-   string time; //current time SS:MM:HH
-   string year; //current year 1970 - 2035?
+   string day;              //current day, mon - sun
+   string month;            //current month, jan - dec
+   string date;             //current date, 1-31
+   string time;             //current time SS:MM:HH
+   string year;             //current year 1970 - 2035?
    
    string current_time; //all of the above in one string, day month  date time year
     
 } time_and_date;
 
-extern time_and_date Timemsg;
\ No newline at end of file
+
+typedef struct
+{
+    time_and_date timestamp;    
+    bool ReadDelete;                    //Read/Write (1/0)
+    signed int numberSamples; // -1 for all else interger
+} SD_message;
+
+
+
+extern time_and_date Timemsg;