some more tweaks

This commit is contained in:
Andrew de Quincey 2021-05-01 09:40:17 +01:00
parent 04e402a04c
commit 2ea32dd05f
2 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,7 @@ Ensure `kiln-controller` is **stopped** during profile recording: The profile mu
To record the profile, run:
```
python kiln-tuner.py ziegler.csv
python kiln-tuner.py zn.csv
```
The above will drive your kiln to 400 and record the temperature profile to the file `zn.csv`. The file will look something like this:

View File

@ -64,6 +64,8 @@ def tune(csvfile, targettemp):
if temp < targettemp:
break
sys.stdout.write(f"\n{stage} {temp}/{targettemp} ")
sys.stdout.flush()
time.sleep(config.sensor_time_wait)
f.close()