From 6013acc2267629408f4c8e45cb6293544a5dcf0b Mon Sep 17 00:00:00 2001 From: Musab Erdem Date: Mon, 22 Jul 2024 11:47:42 +0200 Subject: [PATCH] Optimierung der LSP Schnittstelle --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 01f190f..7120d55 100644 --- a/main.py +++ b/main.py @@ -444,7 +444,7 @@ class ArduinoGUI: if self.ser: if self.ser.in_waiting: try: - command = self.ser.read_all().decode(errors='ignore').strip() + command = self.ser.readall().decode(errors='ignore').strip() print(command) if command[0] == 'a': message = f"{self.current_angle};{self.current_torque};{self.analogInput};{self.currentSetpoint};{self.currentOutput}\n"