Procházet zdrojové kódy

Adds delimiter to serial output.

master
Lukas Prause před 2 roky
rodič
revize
3362ba2c60
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      measurement_main.py

+ 1
- 1
measurement_main.py Zobrazit soubor

@@ -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.")

Načítá se…
Zrušit
Uložit