![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Alix & Sam's combined versions
Dependencies: BMP280 ELEC350-Practicals-FZ429 TextLCD BME280 ntp-client
messageStruct.hpp
- Committer:
- Alix955
- Date:
- 2018-12-13
- Revision:
- 11:42b0c567cc8c
- Parent:
- 10:eea19f8e6122
File content as of revision 11:42b0c567cc8c:
#include "mbed.h" #include <stdio.h> #include <string> typedef struct { double temp; double pressure; double ldr; } sample_message; extern sample_message msg; 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 current_time; //all of the above in one string, day month date time year } time_and_date; extern time_and_date Timemsg;