소스 검색

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…
취소
저장