02c

Dependencies:   mbed

Fork of M0_Lektion02c by Gottfried Enenkel

Files at this revision

API Documentation at this revision

Comitter:
Leonard_Haghofer
Date:
Fri Jan 29 13:07:49 2016 +0000
Parent:
2:4d97fbc35b11
Commit message:
02c

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:32:24 2016 +0000
+++ b/main.cpp	Fri Jan 29 13:07:49 2016 +0000
@@ -22,12 +22,22 @@
             led=0x0;        //LED 0000   Hex 0 
             wait(0.2);
             led=0x1;        //LED 0001   Hex 1               
-            wait (0.2);
-            led=0x2;        //LED 0011 ->Hex 2
-                 // Ergänze selber in HEX!
-
-            wait (0.2);
-            led=0xF;         //LED 1111 
+            wait(0.2);
+            led=0x3;        //LED 0011 ->Hex 2
+            wait(0.2);
+            led=0x7;     // Ergänze selber in HEX!
+            wait(0.2);
+            led=0xF;    
+            wait(0.2); 
+            led=0x7;
+            wait(0.2);
+            led=0x3;
+            wait(0.2);
+            led=0x1;
+            wait(0.2);
+            led=0x0;
+            wait(1.0);
+                //LED 1111 
                              //LED 0000
                              //LED 1000
                  // nun läuft der Balken wieder zurück!