Optimierung der LSP Schnittstelle

This commit is contained in:
2024-07-22 11:43:21 +02:00
parent 582bdec6c5
commit 8269b5112f

View File

@@ -453,8 +453,7 @@ class ArduinoGUI:
self.tare_angle()
if command(0) == 'u':
time.sleep(5)
string = self.ser.read_until(b"u")
outCommand = F"u{string}u\n"
outCommand = F"{command}\n"
self.arduino.write(outCommand.encode())
time.sleep(0.1)