Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
- Committer:
- itbusch
- Date:
- 2022-02-04
- Revision:
- 1:5bb0b616cdaa
- Parent:
- 0:47be8595eabc
- Child:
- 2:d49883482bcc
File content as of revision 1:5bb0b616cdaa:
/* mbed BuschA, 60_LED_SOS */ #include "mbed.h" #include "UP_SOS.h" //Initialisiere Ausgangspin und Variable DigitalIn User_Button(PC_13); //PullUp auf Board, PC13 int main() { while (true) { if (User_Button == false) { UP_SOS_kurz(); //Funktionsaufruf... UP_SOS_lang(); UP_SOS_kurz(); thread_sleep_for(2000); //Sleep = Warten... } } }