experimental fork

Dependencies:   NOKIA_5110 mbed

Revision:
0:52895a475820
Child:
4:87037e41c888
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/detection.cpp	Tue Oct 04 09:34:20 2016 +0000
@@ -0,0 +1,22 @@
+class Detection{
+    public:
+    int channel;
+    float time;
+    float temp;
+    float pressure;
+    
+    Detection(int channel_, float time_){
+        channel = channel_;
+        time = time_;
+        temp = 0;
+        pressure = 0;
+        }
+
+    void set_pressure(float p) { pressure = p; }
+    void set_channel(int c) { channel = c; }
+
+    float get_temp(void){ return temp; }
+    float get_time(void){ return time; }
+    float get_pressure(void){ return pressure; }
+    int get_channel(void){ return channel; } 
+    };
\ No newline at end of file