hallo

Dependencies:   Servo mbed pixy

Fork of PES1 by Gruppe 3

Revision:
1:4e84271a70c6
Parent:
0:306a2438de17
Child:
2:953263712480
--- a/Roboter.h	Tue Mar 21 12:42:01 2017 +0000
+++ b/Roboter.h	Tue Apr 04 11:55:54 2017 +0000
@@ -2,39 +2,29 @@
 #define ROBOTER_H
 
 #include <mbed.h>
-#include "Motoren.h"
 #include "IRSensor.h"
-#include "Kamera.h"
 
-class Roboter : class IRSensor
+class Roboter
 {
-    
+
 public:
 
-    Roboter : IRSensor(distance,bit0,bit1,bit2,number)
-    
+    Roboter(AnalogIn* distance, DigitalOut* bit0, DigitalOut* bit1, DigitalOut* bit2,   PwmOut * pwmL, PwmOut* pwmR);
+
+    void bandeAusweichen();
+    float readSensor1();
 
+private:
+    IRSensor sensors[6];
+
+    PwmOut* pwmL;
+    PwmOut* pwmR;
 
 
 
 
-
-
-
-
-
-
-
+};
 
 
 
-
-
-
-
-
-
-
-
-
-#endif 
\ No newline at end of file
+#endif
\ No newline at end of file