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
DATA.hpp
- Committer:
- thomasmorris
- Date:
- 2017-12-19
- Revision:
- 8:0e4481b64353
- Child:
- 10:46946784326d
File content as of revision 8:0e4481b64353:
#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
