definitionen enenkel

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
WelzAlex
Date:
Fri Jun 17 05:58:33 2016 +0000
Commit message:
definitionen

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
diff -r 000000000000 -r f027dfc79356 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Jun 17 05:58:33 2016 +0000
@@ -0,0 +1,55 @@
+#include "mbed.h"
+// ********   Definitionen  **********
+DigitalOut Von(P2_13);       // 12V on
+// Definition der 12 LED's 
+DigitalOut WSLI(P1_10);     //wsS links  D1
+DigitalOut WSRE(P1_12);     //wsS rechts D4
+DigitalOut GELIVO (P1_11);  //ge links vorn D2
+DigitalOut GEREVO (P1_13);  //ge rechts vorn D5
+DigitalOut GELIHI(P1_14);   //ge links hinten D6
+DigitalOut RTLIHI(P1_15);   // rt links hinbten D7        
+DigitalOut GEREHI(P1_16);   //ge rechts hinten D8
+DigitalOut RTREHI(P1_17);   //rt  rechts hinten D9
+
+DigitalOut ledD10(P1_18);
+DigitalOut ledD11(P2_16);
+DigitalOut ledD12(P1_20);
+DigitalOut ledD13(P1_21);
+// LDR 
+AnalogIn LDR(P0_14);
+// RGB LED
+DigitalOut RGB(P1_22);
+// Motor Steuerung                    Schaltung Pg 2
+DigitalOut MG1_EN(P2_16);// NUR DIGITAL ohne PWM ! ! !
+DigitalOut MG1_F(P2_15);
+DigitalOut MG1_R(P2_14);
+DigitalOut MG2_EN(P2_19);
+DigitalOut MG2_F(P2_20);
+DigitalOut MG2_R(P2_21);
+//ULTRASCHALL ABSTANDSMESSER
+DigitalOut TRIG(P2_22);
+DigitalIn ECHO(P2_23);
+// Definition der Taster **************** Schaltplan Pg5
+DigitalIn  TA1(P1_23); //TA1
+DigitalIn  TA2(P1_24); //
+DigitalIn  TA3(P1_25); //
+DigitalIn  TA4(P1_26); // 
+DigitalIn  TA5(P1_27); //
+DigitalIn  TA6(P1_28); //
+DigitalIn  TA7(P1_30); //
+DigitalIn  TA8(P1_31); // 
+// INCREMENTGEBER  *********************** Schaltplan Pg 6
+DigitalOut EN_INCR (P2_2);  //Incrementgeber Enable
+DigitalIn INCR_L1 (P2_6);
+DigitalIn INCR_L2 (P2_7); 
+DigitalIn INCR_R1 (P2_8);  
+DigitalIn INCR_R2 (P2_9); 
+// LINE SENSOR *************************** Schaltplan Pg 7
+DigitalOut EN_Line (P2_5); //Enable LINE Sensor
+DigitalIn ISO1 (P1_9);  // Statt ANALOG hier DIGITAL
+DigitalIn ISO2 (P0_23); // nur für einfachen TEST!
+DigitalIn ISO3 (P0_16);
+DigitalIn ISO4 (P0_15);
+DigitalIn ISO5 (P1_3);
+// Blue LED ****************************** Schaltplan Pg 8
+DigitalOut LedBl (P1_5);
\ No newline at end of file
diff -r 000000000000 -r f027dfc79356 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Jun 17 05:58:33 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/6c34061e7c34
\ No newline at end of file