Sep-03-2020, 08:19 PM
Okay. I got it to work:
1. I removed the "while true" statement in the CycleCO2 function.
2. I replaced the following statement:
valCo2 = tk.Label(frame2, text = str(co2) )
with
1. I removed the "while true" statement in the CycleCO2 function.
2. I replaced the following statement:
valCo2 = tk.Label(frame2, text = str(co2) )
with
self.valCo2.config(text = co2)Now it displays the value when click the "Start" button.