Beste Version

Dependencies:   mbed

Fork of Roboshark_V8 by Roboshark

Revision:
5:e715d157ced5
Parent:
4:767fd282dd9c
Child:
6:7bbcdd07bc2d
--- a/IRSensor.cpp	Tue Apr 24 18:16:05 2018 +0000
+++ b/IRSensor.cpp	Thu Apr 26 05:58:07 2018 +0000
@@ -94,10 +94,10 @@
 
 int IRSensor ::codeF(){
     
-        if(disF < minIrR) {
+        if(disF < minIrF) {
             IrF = 1;
             } else { IrF = 0; }
-        return ende;//IrF;
+        return IrF;//IrF;
 }
 
 void IRSensor :: codeB() {