temp: Also plot last raw value
To sanity-check the filtered result, also plot the raw value alongside it each time.
This commit is contained in:
parent
670576abf8
commit
37b58a1529
|
@ -46,5 +46,5 @@ while True:
|
||||||
now = time.ticks_ms()
|
now = time.ticks_ms()
|
||||||
elapsed = now - last_report
|
elapsed = now - last_report
|
||||||
if elapsed >= 200 or elapsed < 0:
|
if elapsed >= 200 or elapsed < 0:
|
||||||
print(f"{temperature_filtered:.6f}")
|
print(f"{temperature:.6f},{temperature_filtered:.6f}")
|
||||||
last_report = now
|
last_report = now
|
||||||
|
|
Loading…
Reference in a new issue