Lehrer Busch
/
060_LED_SOS_UP_Strukturen_CableSwitch_AA
060_LED_SOS_UP_Strukturen_CableSwitch_AA
main.cpp
- Committer:
- itbusch
- Date:
- 2022-01-31
- Revision:
- 0:47be8595eabc
- Child:
- 1:4edbb4d59a34
File content as of revision 0:47be8595eabc:
/* mbed BuschA, 60_LED_SOS */ #include "mbed.h" #include "UP_SOS.h" //Initialisiere Ausgangspin und Variable DigitalIn CableSwitch(D2); //PullUp auf Board, PA_10 int main() { while (true) { if (CableSwitch == false) { UP_SOS_kurz(); //Funktionsaufruf... UP_SOS_lang(); UP_SOS_kurz(); thread_sleep_for(2000); //Sleep = Warten... } } }