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 ffce232d47 - Show all commits

View File

@@ -449,7 +449,9 @@ 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(0.5)
while self.ser.out_waiting:
pass
self.ser.read_all()
except Exception as e:
print(e)
#self.ser.write(b'Hallo\n')