feature_lsp_com #9

Merged
musabe24 merged 12 commits from feature_lsp_com into main 2024-07-22 12:15:27 +02:00
Showing only changes of commit f8d788d92e - Show all commits

View File

@@ -449,7 +449,7 @@ class ArduinoGUI:
while self.ser.in_waiting: while self.ser.in_waiting:
pass pass
print(command) print(command)
if command[0] == 'a': if command[1] == '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())
if command[0] == 'w': if command[0] == 'w':