start working on schematic

This commit is contained in:
2019-05-24 11:28:25 +03:00
parent a1d59ea6b0
commit 21d8668395
12 changed files with 11394 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ if not ser.is_open:
gcodef = open(gcode, "r")
for line in gcodef:
print(line)
print(line, end="")
ser.write(line.encode())
response = ser.readline().decode("utf-8").strip()
if response != "OK":