BERTL16 Line Test

Dependencies:   mbed

Revision:
6:8144f23e1d72
Parent:
5:7ee80c79730e
diff -r 7ee80c79730e -r 8144f23e1d72 main.cpp
--- a/main.cpp	Fri Apr 29 09:10:47 2016 +0000
+++ b/main.cpp	Thu Jun 02 15:16:20 2016 +0000
@@ -9,6 +9,7 @@
 
 DigitalOut Von (P2_13);      // 12 V ON 
 DigitalOut LineON (P2_5);    // Line Sensor aktivieren
+DigitalOut Incr (P2_2);      // Increment ON
 DigitalIn ISO1 (P1_9);       // ISO1
 DigitalIn ISO2 (P0_16);
 DigitalIn ISO3 (P0_23);
@@ -25,7 +26,7 @@
 int main() {
     Von=1;                  // 12 V leitung EIN
     LineON=1;               // Line Sensoren AKTIV
-
+    Incr=1;                 // Increment = 1
     while(1) {
         // Auswertung der LINE SENSOREN
         if (ISO1 == 1 )        // Line Sensor ganz LINKS