ZSL Busch
/
050_LED_SOS_UP_Strukturen
050_LED_SOS_UP_Strukturen
main.cpp@0:703b6688ff90, 2022-01-31 (annotated)
- Committer:
- itbusch
- Date:
- Mon Jan 31 16:58:11 2022 +0000
- Revision:
- 0:703b6688ff90
050_LED_SOS_UP_Strukturen
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
itbusch | 0:703b6688ff90 | 1 | /* mbed BuschA, 60_LED_SOS */ |
itbusch | 0:703b6688ff90 | 2 | #include "mbed.h" |
itbusch | 0:703b6688ff90 | 3 | #include "UP_SOS.h" |
itbusch | 0:703b6688ff90 | 4 | //Initialisiere Ausgangspin und Variable |
itbusch | 0:703b6688ff90 | 5 | |
itbusch | 0:703b6688ff90 | 6 | int main() |
itbusch | 0:703b6688ff90 | 7 | { |
itbusch | 0:703b6688ff90 | 8 | |
itbusch | 0:703b6688ff90 | 9 | while (true) |
itbusch | 0:703b6688ff90 | 10 | { |
itbusch | 0:703b6688ff90 | 11 | UP_SOS_kurz(); //Funktionsaufruf... |
itbusch | 0:703b6688ff90 | 12 | UP_SOS_lang(); |
itbusch | 0:703b6688ff90 | 13 | UP_SOS_kurz(); |
itbusch | 0:703b6688ff90 | 14 | thread_sleep_for(2000); //Sleep = Warten... |
itbusch | 0:703b6688ff90 | 15 | } |
itbusch | 0:703b6688ff90 | 16 | } |