Roboshark / Mbed 2 deprecated Roboshark_V7

Dependencies:   mbed

Fork of Roboshark_V62 by Roboshark

Files at this revision

API Documentation at this revision

Comitter:
ahlervin
Date:
Thu Apr 26 05:58:07 2018 +0000
Parent:
4:767fd282dd9c
Child:
6:7bbcdd07bc2d
Commit message:
bug fix

Changed in this revision

IRSensor.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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() {