Daniel Kahr

Dependencies:   mbed

Fork of Lektion02b_Kahr by BULME_AHEL20

Files at this revision

API Documentation at this revision

Comitter:
DanielKahr
Date:
Fri Jan 29 13:37:52 2016 +0000
Parent:
3:6acee5d90cd0
Commit message:
d

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 6acee5d90cd0 -r 25f04078bca4 main.cpp
--- a/main.cpp	Fri Jan 29 08:58:21 2016 +0000
+++ b/main.cpp	Fri Jan 29 13:37:52 2016 +0000
@@ -29,59 +29,112 @@
     while(1)               // Hauptschleife
         {
             LedD1=1;       // LED D1 EIN
-            wait(0.4);     // warte 0.4 sec
+            wait(0.1);     // warte 0.1 sec
             LedD2=1;       // LED D2 EIN                 
-            wait (0.4);    // warte 0.4 sec
+            wait (0.1);    // warte 0.1 sec
             LedD1=0;
-            wait (0.4);
+            wait (0.1);
             LedD2=0;
-            wait (0.4);
+            wait (0.1);
+            
             LedD3=1;
-            wait (0.4);
+            wait (0.1);
             LedD4=1;
-            wait (0.4);
+            wait (0.1);
             LedD3=0;
-            wait (0.4);
+            wait (0.1);
             LedD4=0;
-            wait (0.4);
+            wait (0.1);
+            
             LedD13=1;
-            wait (0.4);
+            wait (0.1);
             LedD14=1;
-            wait (0.4);
+            wait (0.1);
             LedD13=0;
-            wait (0.4);  
+            wait (0.1);  
             LedD14=0;
-            wait (0.4); 
+            wait (0.1); 
+            
             LedD15=1;
-            wait (0.4); 
+            wait (0.1); 
             LedD16=1;
-            wait (0.4); 
+            wait (0.1); 
             LedD15=0;
-            wait (0.4); 
+            wait (0.1); 
             LedD16=0;
-            wait (0.4);
+            wait (0.1);
+            
             LedD17=1;
-            wait (0.4); 
+            wait (0.1); 
             LedD18=1;
-            wait (0.4); 
+            wait (0.1); 
             LedD17=0;
-            wait (0.4); 
+            wait (0.1); 
             LedD18=0;
-            wait (0.4); 
+            wait (0.1); 
+            
+            LedD19=1;
+            wait (0.1); 
+            LedD20=1;
+            wait (0.1); 
+            LedD19=0;
+            wait (0.1); 
+            LedD20=0;
+            wait (0.1);
+            
+            LedD20=1;
+            wait (0.1); 
             LedD19=1;
-            wait (0.4); 
-            LedD20=1;
-            wait (0.4); 
+            wait (0.1);
+            LedD20=0;
+            wait (0.1);
             LedD19=0;
-            wait (0.4); 
-            LedD20=0;
+            wait (0.1);
+            
+            LedD18=1;
+            wait (0.1);
+            LedD17=1;
+            wait (0.1);
+            LedD18=0;
+            wait (0.1);
+            LedD17=0;
+            wait (0.1);
+            
+            LedD16=1;
+            wait (0.1);
+            LedD15=1;
+            wait (0.1);
+            LedD16=0;
+            wait (0.1);
+            LedD15=0;
             
-
-            
+            LedD14=1;
+            wait (0.1);
+            LedD13=1;
+            wait (0.1);
+            LedD14=0;
+            wait (0.1);
+            LedD13=0;
+            wait (0.1);
+           
+            LedD4=1;
+            wait (0.1);
+            LedD3=1;
+            wait (0.1);
+            LedD4=0;
+            wait (0.1);
+            LedD3=0;
+            wait (0.1);
             
-            wait (0.4);
-                   
-                                  
+            LedD2=1;
+            wait (0.1);
+            LedD1=1;
+            wait (0.1);
+            LedD2=0;
+            wait (0.1);
+            LedD1=0;
+            wait (0.1);
+                           
         }
 }
 // ENDE *****************************************************