Optimierung der LSP Schnittstelle
This commit is contained in:
2
main.py
2
main.py
@@ -444,7 +444,7 @@ class ArduinoGUI:
|
||||
if self.ser:
|
||||
if self.ser.in_waiting:
|
||||
try:
|
||||
command = self.ser.read_all().decode(errors='ignore').strip()
|
||||
command = self.ser.readall().decode(errors='ignore').strip()
|
||||
print(command)
|
||||
if command[0] == 'a':
|
||||
message = f"{self.current_angle};{self.current_torque};{self.analogInput};{self.currentSetpoint};{self.currentOutput}\n"
|
||||
|
||||
Reference in New Issue
Block a user