summaryrefslogtreecommitdiffstats
path: root/LineSensor.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-04-13 19:58:03 +0200
committerneoraider <devnull@localhost>2007-04-13 19:58:03 +0200
commit7da669b97ec71f138c74d562b8a3b219d3f98a50 (patch)
tree089226274f422ae1b486cf44d36751de47bca01c /LineSensor.h
parente26a1dc73313098cef235918d237f9b1a6e4cb5f (diff)
downloadrc2007-rescue-7da669b97ec71f138c74d562b8a3b219d3f98a50.tar
rc2007-rescue-7da669b97ec71f138c74d562b8a3b219d3f98a50.zip
Makefile angelegt; Grundfunktionen erweitert
Diffstat (limited to 'LineSensor.h')
-rw-r--r--LineSensor.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/LineSensor.h b/LineSensor.h
new file mode 100644
index 0000000..6b094f8
--- /dev/null
+++ b/LineSensor.h
@@ -0,0 +1,14 @@
+#ifndef _ROBOCUP_LINESENSOR_H_
+#define _ROBOCUP_LINESENSOR_H_
+
+class LineSensor {
+ private:
+ int id;
+ float value;
+ public:
+ LineSensor(int id);
+ float updateValue();
+ float getValue() {return value;}
+};
+
+#endif