8ABELI Event Klasse

Dependencies:   mbed

8ABELI

Das ist der aktuelle Code für IsA versus HasA.

C++ Seite

Files at this revision

API Documentation at this revision

Comitter:
bulmecisco
Date:
Thu Nov 08 16:42:33 2018 +0000
Parent:
1:69b984cadc60
Commit message:
add Led

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 69b984cadc60 -r 24891d3b0e0c main.cpp
--- a/main.cpp	Thu Nov 08 16:39:47 2018 +0000
+++ b/main.cpp	Thu Nov 08 16:42:33 2018 +0000
@@ -1,7 +1,5 @@
 #include "mbed.h"
 
-// Achtung Änderung
-
 // ---------------- Inherited Switch Event Class from InterruptIn --------------------------
 class SwEventInh : public InterruptIn {
         //InterruptIn _isr;
@@ -60,6 +58,7 @@
 SwEventInh sw1(p14);
 
 DigitalOut myled(LED1);
+DigitalOut myled2(LED2);
 
 int main() {
     myled = 1;