We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e0785e commit 96125e1Copy full SHA for 96125e1
raspberry_pi/01_meter.py
@@ -19,9 +19,9 @@ def update_readings(): # update fields with new temp and eCO2 readings
19
# define the user interface
20
Text(app, text="Wetness (%)", grid=[0,0], size=20)
21
wetness_field = Text(app, text="-", grid=[1,0], size=100)
22
-Text(app, text="Temp (C)", grid=[0,1], size=10)
23
-temp_c_field = Text(app, text="-", grid=[1,1], size=100)
24
-Text(app, text="Humidity (%)", grid=[0,2], size=10)
25
-humidity_field = Text(app, text="-", grid=[1,2], size=100)
+Text(app, text="Temp (C)", grid=[0,1], size=20)
+temp_c_field = Text(app, text="-", grid=[1,1], size=50)
+Text(app, text="Humidity (%)", grid=[0,2], size=20)
+humidity_field = Text(app, text="-", grid=[1,2], size=50)
26
t1.start() # start the thread that updates the readings
27
app.display()
0 commit comments