From ce1ba5290cf33a99e264afd4d4bf67150b90b665 Mon Sep 17 00:00:00 2001 From: wildercayden Date: Wed, 25 Jun 2025 21:11:05 -0400 Subject: [PATCH] changed comments a bit --- TablePI.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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}"