Antonia Baumgartner / Mbed 2 deprecated Versuch21

Dependencies:   mbed

Fork of Versuch20 by Alexander Wyss

Revision:
0:b886f13e4ac6
Child:
1:6ef5bc60e69c
diff -r 000000000000 -r b886f13e4ac6 Classes/LHR.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Classes/LHR.h	Sun Apr 22 16:14:54 2018 +0000
@@ -0,0 +1,34 @@
+#ifndef LHR_H
+#define LHR_H
+#include "IRSensorGF.h"
+#include "IRSensorG.h"
+#include "IRSensorK.h"
+#include "IRSensorZ.h"
+
+#include <cstdlib>
+#include <mbed.h>
+
+class LHR
+{
+
+public:
+    LHR(IRSensorGF& Sensor1, IRSensorG& Sensor2, IRSensorG& Sensor3, IRSensorK& Sensor4, IRSensorK& Sensor5, IRSensorZ& Sensor6);
+    
+    virtual ~LHR();
+    void read();
+    int moving();
+
+private:
+    IRSensorGF& Sensor1;
+    IRSensorG& Sensor2;
+    IRSensorG& Sensor3;
+    IRSensorK& Sensor4;
+    IRSensorK& Sensor5;
+    IRSensorZ& Sensor6;
+    int D;
+
+
+
+};
+
+#endif /* LHR */
\ No newline at end of file