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