Thomas Morris / Mbed OS PROJ324_Final

Fork of ELEC351_Group_T by Plymouth ELEC351 Group T

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;