feature_lsp_com #8
1
main.py
1
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:
|
||||
|
||||
Reference in New Issue
Block a user