Просмотр исходного кода

Adds delimiter to serial output.

master
Lukas Prause 3 лет назад
Родитель
Сommit
3362ba2c60
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      measurement_main.py

+ 1
- 1
measurement_main.py Просмотреть файл

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

Загрузка…
Отмена
Сохранить