Antonia Baumgartner / Mbed 2 deprecated YB_copy

Dependencies:   mbed

Fork of Versuch21 by Antonia Baumgartner

Revision:
3:f44ef28cfb2d
Parent:
2:efa9a78591da
Child:
5:93d3efe46493
--- a/Classes/IRSensorGF.cpp	Wed Apr 25 11:16:16 2018 +0000
+++ b/Classes/IRSensorGF.cpp	Sun Apr 29 11:29:00 2018 +0000
@@ -30,7 +30,7 @@
 
     int w = 10/(distance)*exp(1.4481);
 
-    if (w < 60) {
+    if (w < 130) {
         d=1;
     } else {
         d=0;