BERTL16 Line Test

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Enenkel
Date:
Thu Jun 02 15:16:20 2016 +0000
Parent:
5:7ee80c79730e
Commit message:
Line Sensor & Increment Test

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- 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
--- a/mbed.bld	Fri Apr 29 09:10:47 2016 +0000
+++ b/mbed.bld	Thu Jun 02 15:16:20 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/4fc01daae5a5
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/aae6fcc7d9bb
\ No newline at end of file