02_d

Dependencies:   mbed

Fork of M0_Lektion02d by Gottfried Enenkel

Revision:
3:06932b9805d2
Parent:
2:2b9c91113eb3
diff -r 2b9c91113eb3 -r 06932b9805d2 main.cpp
--- 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