Преглед на файлове

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…
Отказ
Запис