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: