Antonia Baumgartner / Mbed 2 deprecated YB_copy

Dependencies:   mbed

Fork of Versuch21 by Antonia Baumgartner

Revision:
0:b886f13e4ac6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Classes/IRSensorZ.h	Sun Apr 22 16:14:54 2018 +0000
@@ -0,0 +1,20 @@
+#ifndef IR_SENSORZ_H_
+#define IR_SENSORZ_H_
+
+#include <cstdlib>
+#include <mbed.h>
+
+class IRSensorZ {
+    
+public:
+    IRSensorZ(AnalogIn& distance);
+    
+    virtual ~IRSensorZ();
+    int read();
+    
+private:
+    AnalogIn& distance;
+
+};
+
+#endif /* IR_SENSORZ_H_ */ 
\ No newline at end of file