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 Coursework by
Diff: Reading.h
- Revision:
- 37:1a621144e73f
diff -r bbc4b371cb75 -r 1a621144e73f Reading.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Reading.h Wed May 03 10:30:24 2017 +0000
@@ -0,0 +1,19 @@
+#ifndef Reading_H
+#define Reading_H
+#include "Clock.h"
+#include "mbed.h"//is this needed?
+
+class Reading{
+
+ //variables - this is a public class
+ public:
+ Clock clock;
+ float temp;
+ float humidity;
+ float pressure;
+
+ //constructor
+ Reading(Clock c, float t, float p, float h);
+ Reading();
+ };
+#endif
\ No newline at end of file
