Optimierung der LSP Schnittstelle
This commit is contained in:
3
main.py
3
main.py
@@ -453,8 +453,7 @@ class ArduinoGUI:
|
|||||||
self.tare_angle()
|
self.tare_angle()
|
||||||
if command(0) == 'u':
|
if command(0) == 'u':
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
string = self.ser.read_until(b"u")
|
outCommand = F"{command}\n"
|
||||||
outCommand = F"u{string}u\n"
|
|
||||||
self.arduino.write(outCommand.encode())
|
self.arduino.write(outCommand.encode())
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user