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:
- 51:47f5db68500b
- Parent:
- 38:8d86e0d8a816
- Child:
- 52:99915f5240b2
--- a/DATA.hpp Tue Jan 09 12:19:12 2018 +0000
+++ b/DATA.hpp Tue Jan 09 15:15:08 2018 +0000
@@ -1,13 +1,16 @@
-#ifndef _DATA_HPP_
-#define _DATA_HPP_
+/*
+This is ur data Class which stores in the Sensor values
+,light level and the time values
+*/
+
+
+#ifndef DATA_HPP//Header Guards Prevents Multiple includes
+#define DATA_HPP
class DATA
{
-
public:
-
DATA();
-
//Setters
void set_time(int time);
void set_temperature(double temp);
@@ -21,7 +24,7 @@
double get_light();
private:
-//Private member variables
+ //Private member variables
int _Time;
double _Temperature;
double _Pressure;
