From cdca23060d263b495a3fed2f363628a80ed532fa Mon Sep 17 00:00:00 2001 From: Andrew de Quincey Date: Sat, 1 May 2021 14:22:47 +0100 Subject: [PATCH] just record the temp every second --- kiln-tuner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiln-tuner.py b/kiln-tuner.py index f8c8b94..666f663 100755 --- a/kiln-tuner.py +++ b/kiln-tuner.py @@ -43,7 +43,7 @@ def recordprofile(csvfile, targettemp): # * wait for it to decay back to the target again. # * quit # - # We record the temperature every config.sensor_time_wait + # We record the temperature every second try: stage = 'heating' if not config.simulate: @@ -68,7 +68,7 @@ def recordprofile(csvfile, targettemp): sys.stdout.write(f"\r{stage} {temp:.2f}/{targettemp} ") sys.stdout.flush() - time.sleep(config.sensor_time_wait) + time.sleep(1) f.close()