test

Revision:
1:d4eec4fcc366
Parent:
0:05bee2dd672d
--- a/main.cpp	Mon Jan 24 07:37:38 2022 +0000
+++ b/main.cpp	Mon Jan 31 06:59:34 2022 +0000
@@ -1,22 +1,21 @@
-/* mbed BuschA
- */
+/* mbed BuschA */
 
 #include "mbed.h"
-#include "wait.h"
+#include "Warten.h"
 
 //Initialisiere Ausgangspin und Variable
 DigitalOut Boardled(LED1);
-//DigitalOut Oszi(D3);
+DigitalOut Oszi(D3);                //Oszi-Pin zur Zeitmessung
 
-int main()
+int main()                          
 {
     while (true) 
     {
         Boardled = 1;
-        //Oszi = 1;
-        wait();                 //Warten
-        Boardled = 0;
-        //Oszi = 0;
-        wait();
+        Oszi = 1;                   //Oszi-Hilfs-Bit = HIGH
+        Warten();                   //UP-Aufruf: Warten
+        Boardled = 0;   
+        Oszi = 0;                   //Oszi-Hilfs-Bit = LOW
+        Warten();                   //UP-Aufruf: Warten
     }
 }
\ No newline at end of file