sos
(C)stachan 08.02.2024
Task :: S.O.S.
Schreiben Sie ein Programm, das die LEDs in einer Endlosschleife nach dem Muster des Morse-SOS blinken lässt: _ _ _ . . . _ _ _
- Rot: 3x lang - 3x kurz - 3x lang.
- Gelb: 1x lang.
Verwenden Sie Schleifen.
Wird der rote Button gedrückt, leuchtet die grüne LED auf und gleichzeitig wird im Debugger der Text „NOTRUF GESENDET“ ausgegeben.
Werte für Zeit:
- lang = 60000
- kurz = 20000
- Dunkelphase = 10000
Write a program that makes the LEDs blink in an endless loop according to the pattern of Morse SOS: _ _ _ . . . _ _ _
- Red: 3x long - 3x short - 3x long.
- Yellow: 1x long.
Use loops.
If the red button is pressed, the green LED lights up and at the same time the text “EMERGENCY CALL SENT” is output in the debugger.
Values for time:
- long = 60000
- short = 20000
- dark phase = 10000