Lehrer Busch
/
070_LED_SOS_UP_Strukturen_UserButton
070_LED_SOS_UP_Strukturen_UserButton
Revision 1:5bb0b616cdaa, committed 2022-02-04
- Comitter:
- itbusch
- Date:
- Fri Feb 04 08:50:19 2022 +0000
- Parent:
- 0:47be8595eabc
- Commit message:
- 070_LED_SOS_UP_Strukturen_UserButton
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Jan 31 16:58:37 2022 +0000 +++ b/main.cpp Fri Feb 04 08:50:19 2022 +0000 @@ -2,14 +2,14 @@ #include "mbed.h" #include "UP_SOS.h" //Initialisiere Ausgangspin und Variable -DigitalIn CableSwitch(D2); //PullUp auf Board, PA_10 +DigitalIn User_Button(PC_13); //PullUp auf Board, PC13 int main() { while (true) { - if (CableSwitch == false) + if (User_Button == false) { UP_SOS_kurz(); //Funktionsaufruf... UP_SOS_lang();