From 5531952667d4e1cfbc336bd7a9d0e93324fa0fdd Mon Sep 17 00:00:00 2001 From: Musab Erdem Date: Thu, 18 Jul 2024 10:13:42 +0200 Subject: [PATCH] optimierung --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 369ca6f..8e3e6af 100644 --- a/main.py +++ b/main.py @@ -455,6 +455,7 @@ class ArduinoGUI: if command == 'a': message = f"{self.current_angle};{self.current_torque};{self.analogInput};{self.currentSetpoint};{self.currentOutput}\n" self.ser.write(message.encode()) + time.sleep(1) while self.ser.out_waiting: pass except Exception as e: