![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
mit pathdingsbums
Dependencies: mbed
Fork of MicroMouse_MASTER_TWO by
Diff: KontrastSensor.cpp
- Revision:
- 2:592f01278db4
- Parent:
- 1:d9e840c48b1e
- Child:
- 6:a09d2ee3b82e
diff -r d9e840c48b1e -r 592f01278db4 KontrastSensor.cpp --- a/KontrastSensor.cpp Sat Mar 31 16:45:57 2018 +0000 +++ b/KontrastSensor.cpp Wed Apr 04 15:24:28 2018 +0000 @@ -19,12 +19,12 @@ blackLine = 0; float k = kontrast*3300; //sodass in Range bis 3300mV - printf("%.0f\n", k); + //printf("%.0f\n", k); if(k >2500){ blackLine = 1; } - else{//Auschalten im Betrieb (nur zur Kontrolle) - blackLine = 0; - } + //else{//Auschalten im Betrieb (nur zur Kontrolle) + // blackLine = 0; + //} }