feature_lsp_com #8

Merged
musabe24 merged 17 commits from feature_lsp_com into main 2024-07-18 12:26:59 +02:00
Showing only changes of commit a099481b3e - Show all commits

View File

@@ -451,6 +451,15 @@ class ArduinoGUI:
self.ser.write(message.encode())
while self.ser.out_waiting:
pass
if command == 'w':
self.tare_angle()
if command == 'u':
time.sleep(5)
string = self.ser.read_until(b"u")
outCommand = F"u{string}u\n"
self.arduino.write(outCommand.encode())
time.sleep(0.1)
self.ser.read_all()
except Exception as e:
print(e)