070_LED_SOS_UP_Strukturen_UserButton

UP_SOS.h

Committer:
itbusch
Date:
2022-01-31
Revision:
0:47be8595eabc

File content as of revision 0:47be8595eabc:

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...
        }
 }