Pathfinding nach rechts funktioniert noch nicht...der rest schon

Dependencies:   mbed

Fork of MicroMouse_MASTER_THREE by PES2_R2D2.0

Revision:
7:5ef09519a6e9
Parent:
6:a09d2ee3b82e
Child:
9:ab19796bf14a
--- a/KontrastSensor.cpp	Wed Apr 25 12:49:48 2018 +0000
+++ b/KontrastSensor.cpp	Mon May 07 18:52:04 2018 +0000
@@ -18,10 +18,10 @@
 {
 
     
-    float k = kontrast*3300; //sodass in Range bis 3300mV
-    printf("%.0f\n\r", k);
+    float k = kontrast*3300.0f; //sodass in Range bis 3300mV
+    //printf("%.0f\n\r", k);
     
-    if(k >1300){
+    if(k >2500.0f){
         blackLine = 1;
     }
     //else{//Auschalten im Betrieb (nur zur Kontrolle)