Lehrer Busch
/
050_LED_SOS_UP_Strukturen_AA
050_LED_SOS_UP_Strukturen_AA
UP_SOS.h@0:703b6688ff90, 2022-01-31 (annotated)
- Committer:
- itbusch
- Date:
- Mon Jan 31 16:58:11 2022 +0000
- Revision:
- 0:703b6688ff90
- Child:
- 1:f733f01adf4c
050_LED_SOS_UP_Strukturen
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
itbusch | 0:703b6688ff90 | 1 | DigitalOut Boardled(LED1); |
itbusch | 0:703b6688ff90 | 2 | |
itbusch | 0:703b6688ff90 | 3 | void UP_SOS_kurz (void) |
itbusch | 0:703b6688ff90 | 4 | { |
itbusch | 0:703b6688ff90 | 5 | for (int i=0; i<4; i++) |
itbusch | 0:703b6688ff90 | 6 | { |
itbusch | 0:703b6688ff90 | 7 | Boardled = 1; |
itbusch | 0:703b6688ff90 | 8 | thread_sleep_for(500); //Sleep = Warten... |
itbusch | 0:703b6688ff90 | 9 | Boardled = 0; |
itbusch | 0:703b6688ff90 | 10 | thread_sleep_for(500); //Sleep = Warten... |
itbusch | 0:703b6688ff90 | 11 | } |
itbusch | 0:703b6688ff90 | 12 | } |
itbusch | 0:703b6688ff90 | 13 | |
itbusch | 0:703b6688ff90 | 14 | void UP_SOS_lang (void) |
itbusch | 0:703b6688ff90 | 15 | { |
itbusch | 0:703b6688ff90 | 16 | for (int i=0; i<4; i++) |
itbusch | 0:703b6688ff90 | 17 | { |
itbusch | 0:703b6688ff90 | 18 | Boardled = 1; |
itbusch | 0:703b6688ff90 | 19 | thread_sleep_for(1500); //Sleep = Warten... |
itbusch | 0:703b6688ff90 | 20 | Boardled = 0; |
itbusch | 0:703b6688ff90 | 21 | thread_sleep_for(1500); //Sleep = Warten... |
itbusch | 0:703b6688ff90 | 22 | } |
itbusch | 0:703b6688ff90 | 23 | } |
itbusch | 0:703b6688ff90 | 24 |