Add QC docu, Fix display update
This commit is contained in:
parent
d81eb73b46
commit
42952eb9e1
2 changed files with 72 additions and 3 deletions
|
@ -60,10 +60,8 @@ def write_ip_to_screen():
|
|||
try:
|
||||
ip = str(get_ip())
|
||||
print(f"writing {ip} to display")
|
||||
Logging.get_logger().info(f"writing {ip} to display")
|
||||
Display.write(1, "Current IP:")
|
||||
Display.write(2, ip)
|
||||
Display.write(3, datetime.datetime.now().strftime("%b %d %H:%M:%S"))
|
||||
Display.write(1, datetime.datetime.now().strftime("%b %d %H:%M:%S"))
|
||||
time.sleep(5)
|
||||
except Exception as e:
|
||||
print(f"Exception in write ip thread: {e}")
|
||||
|
|
Reference in a new issue