Antonia Baumgartner / Mbed 2 deprecated Versuch21

Dependencies:   mbed

Fork of Versuch20 by Alexander Wyss

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