![](/media/cache/group/bulme.gif.50x50_q85.jpg)
Verkehrsampel
Dependencies: mbed
Fork of _Lektion_03b by
main.cpp@0:9fc800807876, 2015-03-09 (annotated)
- Committer:
- Enenkel
- Date:
- Mon Mar 09 12:11:36 2015 +0000
- Revision:
- 0:9fc800807876
Verkehrsampel
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Enenkel | 0:9fc800807876 | 1 | // HIMBED Lektion03b "VERKEHRSAMPEL" |
Enenkel | 0:9fc800807876 | 2 | // BULME GRAZ by Enenkel 26.2.2015 |
Enenkel | 0:9fc800807876 | 3 | // Aufgabe: Programmieren eine Verkehrsmpael |
Enenkel | 0:9fc800807876 | 4 | // while(1) |
Enenkel | 0:9fc800807876 | 5 | // rot 5 sec |
Enenkel | 0:9fc800807876 | 6 | // gelb 2 sec (gelb = rot +grün) |
Enenkel | 0:9fc800807876 | 7 | // grün 4 sec |
Enenkel | 0:9fc800807876 | 8 | // grün blinken 3x a 1 sec hell 1 sec dunkel |
Enenkel | 0:9fc800807876 | 9 | // gelb 2 sec |
Enenkel | 0:9fc800807876 | 10 | // |
Enenkel | 0:9fc800807876 | 11 | #include "mbed.h" |
Enenkel | 0:9fc800807876 | 12 | |
Enenkel | 0:9fc800807876 | 13 | // den Rest scheibst selber ! |
Enenkel | 0:9fc800807876 | 14 | |
Enenkel | 0:9fc800807876 | 15 | |
Enenkel | 0:9fc800807876 | 16 | // ************** END *************** |