Hauptprogramm

Dependencies:   ILI9340_Driver_Lib PM2_Libary Lib_DFPlayerMini

Revision:
21:1aaf25fc8d53
Parent:
20:f825e91784fe
Child:
24:02223fec319a
--- a/main.cpp	Thu Apr 22 15:57:47 2021 +0000
+++ b/main.cpp	Fri Apr 23 15:33:41 2021 +0000
@@ -1,5 +1,5 @@
 #include "mbed.h"
-#include "Servo.h"
+//#include "Servo.h"
 //Eigene Header einbinden
 
 //include Zeitfunktion
@@ -14,14 +14,14 @@
 
 
 
-
+/*
 #define MID         1500
 #define MIN         1000
 #define MAX         2000
 #define STEP          50
 //Time delay between steps in milliseconds
 #define TIME         100
-
+*/
 using namespace std::chrono;
 
 InterruptIn user_button(USER_BUTTON);
@@ -117,17 +117,6 @@
                             ThisThread::sleep_for(5s); //Wartet 5s..
                             break;
                             }
-            
-            
-      /*  for (int pos = 1000; pos < 2000; pos += 25) {
-          Servo1.SetPosition(pos);
-          wait_ns(50);
-      }
-      for (int pos = 2000; pos > 1000; pos -= 25) {
-          Servo1.SetPosition(pos);
-          wait_ns(50);
-      }*/
-        //bewegung(zeit);
         
         led = !led;