020_LED_blink_wait_oszi_AA

Revision:
0:05bee2dd672d
Child:
1:d4eec4fcc366
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Jan 24 07:37:38 2022 +0000
@@ -0,0 +1,22 @@
+/* mbed BuschA
+ */
+
+#include "mbed.h"
+#include "wait.h"
+
+//Initialisiere Ausgangspin und Variable
+DigitalOut Boardled(LED1);
+//DigitalOut Oszi(D3);
+
+int main()
+{
+    while (true) 
+    {
+        Boardled = 1;
+        //Oszi = 1;
+        wait();                 //Warten
+        Boardled = 0;
+        //Oszi = 0;
+        wait();
+    }
+}
\ No newline at end of file