瀏覽代碼

Adds delimiter to serial output.

master
Lukas Prause 2 年之前
父節點
當前提交
3362ba2c60
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      measurement_main.py

+ 1
- 1
measurement_main.py 查看文件

@@ -239,7 +239,7 @@ def monitor_serial(ser, output_file):
# .replace(";;OK", ";")
# .replace(";;", ";")
#)
write_to_file(output_file, response + "\n")
write_to_file(output_file, response + ";;;\n")
except:
if not ser.is_open:
print_message("Serial port is closed. Exit monitoring thread.")

Loading…
取消
儲存