From ee1e7d354e21ba8eed72ab349ca221bc443ebb0b Mon Sep 17 00:00:00 2001 From: Jason Bruce Date: Tue, 8 Jun 2021 10:21:44 -0400 Subject: [PATCH] reverting to old style print statements for older versions of python --- kiln-tuner.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kiln-tuner.py b/kiln-tuner.py index 1fdda65..b02869a 100755 --- a/kiln-tuner.py +++ b/kiln-tuner.py @@ -162,8 +162,11 @@ def calculate(filename, tangentdivisor, showplot): Ki = Kp / Ti Kd = Kp * Td - # outut to the user - print(f"Kp: {Kp} 1/Ki: {1/ Ki}, Kd: {Kd}") + # output to the user + print("pid_kp = %s" % (Kp)) + print("pid_ki = %s" % (1 / Ki)) + print("pid_kd = %s" % (Kd)) + if showplot: plot(xdata, ydata,