Time: 17:33 Date: 10/12/2017 Description: Task 1,7,8 Currently Functioning
Dependencies: BME280 BMP280 TextLCD
Working Repository
Diff: DATA.hpp
- Revision:
- 8:0e4481b64353
- Child:
- 10:46946784326d
diff -r dfe19413fdc2 -r 0e4481b64353 DATA.hpp --- /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