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:
- 15:c1592fc1a501
- Parent:
- 10:46946784326d
- Child:
- 38:8d86e0d8a816
--- a/DATA.hpp Wed Dec 20 15:37:12 2017 +0000
+++ b/DATA.hpp Sun Dec 24 14:15:57 2017 +0000
@@ -9,20 +9,20 @@
DATA();
//Setters
- void set_time(string time);
+ void set_time(int time);
void set_temperature(double temp);
void set_pressure(double pressure);
void set_light(double light);
//Getters
- string get_time();
+ int get_time();
double get_temperature();
double get_pressure();
double get_light();
private:
//Private member variables
- string _Time;
+ int _Time;
double _Temperature;
double _Pressure;
double _Light;
