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-23
- Revision:
- 0:51cacd8fe300
File content as of revision 0:51cacd8fe300:
/* mbed BuschA, */ #include "mbed.h" #include "UP_SOS.h" //Initialisiere Ausgangspin und Variable InterruptIn TasteS1(PA_10); //PullUp auf Board; sonst PA_1 void ISR_SOS (void) //ISRotine.. { Blink(); } void IR_init (void) { //TasteS1.mode(PullUp); // Pull-Up auf Hardware (PullDown) TasteS1.fall(&ISR_SOS); //steigende Flanke = rise TasteS1.enable_irq(); //IR aktivieren } int main() { IR_init(); while (true) { } }