Przeglądaj źródła

Adds delimiter to serial output.

master
Lukas Prause 2 lat temu
rodzic
commit
3362ba2c60
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      measurement_main.py

+ 1
- 1
measurement_main.py Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz