diff --git a/TablePI.py b/TablePI.py index 3916718..a42df28 100644 --- a/TablePI.py +++ b/TablePI.py @@ -1,9 +1,8 @@ -# client.py on Pi from networktables import NetworkTables import time import psutil -NetworkTables.initialize(server='192.168.1.76') # Laptop IP here +NetworkTables.initialize(server='192.168.1.76') # Reciving device table = NetworkTables.getTable("PiStatus") while True: @@ -17,7 +16,7 @@ while True: cputemp = f"{temps[label][0].current:.1f}" break else: - # fallback for Pi + #Force to work on PI try: with open("/sys/class/thermal/thermal_zone0/temp") as f: cputemp = f"{int(f.read()) / 1000:.1f}"