25.04.17

Dependencies:   mbed

Fork of Sensortest by kings

Revision:
1:82a1ebe6ce11
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Farbsensor.h	Tue Apr 25 14:57:31 2017 +0000
@@ -0,0 +1,21 @@
+#ifndef FARBSENSOR_H
+#define FARBSENSOR_H
+
+#include "mbed.h"
+
+//E. Hess
+//Farbsensor.h
+
+class Farbsensor {
+    public:
+        Farbsensor();
+        Farbsensor(AnalogIn* color);
+        ~Farbsensor();
+        void init(AnalogIn* color);
+        float read();
+
+    private:
+        AnalogIn* color;
+};
+
+#endif
\ No newline at end of file