Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ELEC351_Group_T by
Diff: DATA.hpp
- Revision:
- 8:0e4481b64353
- Child:
- 10:46946784326d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/DATA.hpp Tue Dec 19 13:26:54 2017 +0000
@@ -0,0 +1,32 @@
+#ifndef _DATA_HPP_
+#define _DATA_HPP_
+
+class DATA
+{
+
+public:
+
+ DATA();
+
+ //Setters
+ void set_time(float time);
+ void set_temperature(float temp);
+ void set_pressure(float pressure);
+ void set_light(float light);
+
+ //Getters
+ float get_time();
+ float get_temperature();
+ float get_pressure();
+ float get_light();
+
+private:
+//Private member variables
+ float _Time;
+ float _Temperature;
+ float _Pressure;
+ float _Light;
+};
+
+
+#endif
\ No newline at end of file
