070_LED_SOS_UP_Strukturen_UserButton

Revision:
0:47be8595eabc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/UP_SOS.h	Mon Jan 31 16:58:37 2022 +0000
@@ -0,0 +1,24 @@
+DigitalOut Boardled(LED1);
+
+void UP_SOS_kurz (void)
+{        
+        for (int i=0; i<4; i++)
+        {
+            Boardled = 1;
+            thread_sleep_for(500); //Sleep = Warten...
+            Boardled = 0;
+            thread_sleep_for(500); //Sleep = Warten...
+        }
+ }
+ 
+ void UP_SOS_lang (void)
+ {       
+        for (int i=0; i<4; i++)
+        {
+            Boardled = 1;
+            thread_sleep_for(1500); //Sleep = Warten...
+            Boardled = 0;
+            thread_sleep_for(1500); //Sleep = Warten...
+        }
+ }       
+ 
\ No newline at end of file