![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
MAIN
Fork of SOFT253_Template_Weather_OS_54 by
Data.hpp@36:af6abc6f7590, 2017-05-15 (annotated)
- Committer:
- J_Satchell
- Date:
- Mon May 15 08:58:08 2017 +0000
- Revision:
- 36:af6abc6f7590
- Child:
- 37:13f74964a045
Almost done
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
J_Satchell | 36:af6abc6f7590 | 1 | #ifndef DATA_H |
J_Satchell | 36:af6abc6f7590 | 2 | #define DATA_H |
J_Satchell | 36:af6abc6f7590 | 3 | #include "mbed.h" |
J_Satchell | 36:af6abc6f7590 | 4 | #include "rtos.h" |
J_Satchell | 36:af6abc6f7590 | 5 | |
J_Satchell | 36:af6abc6f7590 | 6 | |
J_Satchell | 36:af6abc6f7590 | 7 | |
J_Satchell | 36:af6abc6f7590 | 8 | class Data |
J_Satchell | 36:af6abc6f7590 | 9 | { |
J_Satchell | 36:af6abc6f7590 | 10 | public: |
J_Satchell | 36:af6abc6f7590 | 11 | float tempCelsius; |
J_Satchell | 36:af6abc6f7590 | 12 | float humi; |
J_Satchell | 36:af6abc6f7590 | 13 | float pressure; |
J_Satchell | 36:af6abc6f7590 | 14 | uint32_t seconds, minutes, hours; |
J_Satchell | 36:af6abc6f7590 | 15 | }; |
J_Satchell | 36:af6abc6f7590 | 16 | |
J_Satchell | 36:af6abc6f7590 | 17 | #endif |