diff --git a/conf.txt b/conf.txt index 8ddc31d..636d0a8 100644 --- a/conf.txt +++ b/conf.txt @@ -1,5 +1,5 @@ 150 Sekunden / 90 Grad{ - Kp:0.0 - Ki:0.1 - Kd:0.0 + Kp:0.03 + Ki:0.04 + Kd:0.00 } \ No newline at end of file diff --git a/main.py b/main.py index 960102d..0f82445 100644 --- a/main.py +++ b/main.py @@ -198,7 +198,7 @@ class ArduinoGUI: com_port = self.combobox_value.get() if com_port: try: - self.arduino = serial.Serial(com_port, 115200, timeout=1) + self.arduino = serial.Serial(com_port, 19200, timeout=1) messagebox.showinfo("Info", "Arduino verbunden an " + com_port) except Exception as e: messagebox.showerror("Fehler", str(e)) @@ -278,6 +278,7 @@ class ArduinoGUI: try: print(self.arduino.readline()) + #print(self.arduino.read_all()) except Exception as e: print(e)