02_d

Dependencies:   mbed

Fork of M0_Lektion02d by Gottfried Enenkel

Files at this revision

API Documentation at this revision

Comitter:
Leonard_Haghofer
Date:
Fri Jan 29 13:49:35 2016 +0000
Parent:
2:2b9c91113eb3
Commit message:
f

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Jan 06 13:34:10 2016 +0000
+++ b/main.cpp	Fri Jan 29 13:49:35 2016 +0000
@@ -24,10 +24,49 @@
             wait(0.2);
             led=0x01;        //LED 0000 0001   Hex 01               
             wait (0.2);
-            led=0x03;        //LED 0000 0011   Hex 03
+            led=0x03;
+            wait (0.2);
+            led=0x06;
+            wait (0.2);
+            led=0x0C;
+            wait (0.2);
+            led=0x18;
+            wait (0.2);
+            led=0x30;
+            wait (0.2);
+            led=0x60;
+            wait (0.2);    
+            led=0xC0;
+            wait (0.2); 
+            led=0x80;
+            wait (0.2); 
+            led=0x00;
+            wait (0.2); 
+            led=0x80;
+            wait (0.2); 
+            led=0xC0;
+            wait (0.2); 
+            led=0x60;
+            wait (0.2);
+            led=0x30;
+            wait (0.2); 
+            led=0x18;
+            wait (0.2); 
+            led=0x0C;
+            wait (0.2); 
+            led=0x06;
+            wait (0.2); 
+            led=0x03;
+            wait (0.2); 
+            led=0x01;
+            wait (0.2); 
+            led=0x00;
+            wait (0.2);
+            
+                //LED 0000 0011   Hex 03
                      // Ergänze selber in HEX!
 
-            wait (0.2);
+           
             led=0xFF;        //LED 0000 0110 
             wait (0.2);  
                              //LED 0000 1100