feature_lsp_com #8

Merged
musabe24 merged 17 commits from feature_lsp_com into main 2024-07-18 12:26:59 +02:00
Showing only changes of commit 5531952667 - Show all commits

View File

@@ -455,6 +455,7 @@ class ArduinoGUI:
if command == 'a': if command == 'a':
message = f"{self.current_angle};{self.current_torque};{self.analogInput};{self.currentSetpoint};{self.currentOutput}\n" message = f"{self.current_angle};{self.current_torque};{self.analogInput};{self.currentSetpoint};{self.currentOutput}\n"
self.ser.write(message.encode()) self.ser.write(message.encode())
time.sleep(1)
while self.ser.out_waiting: while self.ser.out_waiting:
pass pass
except Exception as e: except Exception as e: