RGB Ampel

Dependencies:   mbed

Fork of _B14_Lektion05b by BULME_BERTL14

Files at this revision

API Documentation at this revision

Comitter:
Enenkel
Date:
Fri Mar 20 10:44:18 2015 +0000
Parent:
2:1e32590010a9
Commit message:
AMPEL

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Mar 20 10:37:45 2015 +0000
+++ b/main.cpp	Fri Mar 20 10:44:18 2015 +0000
@@ -1,19 +1,17 @@
 /***********************************
-name:   _B14_Lektion05a    RGB & Blue LED Test
+name:   _B14_Lektion05b    AMPEL
 author: Gottfried Enenkel  HTL BULME
 date :  17.3.2015
 Aufgabe::
     3 Blaue LEDs ON
     Die RGB LED leuchtet  rot grün blau 
     je 1 sec
-Ändere die Software wie folgt:
-    rot       2sec
-    rot blau  2 sec
-    blau      2 sec
-    blau grün 2 sec
-    grün      2 sec
-    grün rot  2 sec
-    rot grün blau 2 sec 
+Ändere die Software so das eine AMPEL entsteht:
+    rot       5 sec
+    gelb      1 sec  (rot und grün) 
+    grün      4 sec
+    grün 3x blinken je 0,4 sec
+    gelb grün 2 sec
 ***********************************/
 #include "mbed.h"
 // ************ DEKLARATIONEN **************