add some colour

pull/140/head
John Pickup 2023-06-22 05:23:27 +01:00
rodzic 3b3e9507d2
commit 7e86c8b538
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -636,13 +636,13 @@ class PID():
dErr = 0
status = ''
if error < (-1 * config.pid_control_window):
status = "kiln outside pid control window, max cooling"
status = "Kiln outside pid control window, max cooling"
log.info("kiln outside pid control window, max cooling")
output = 0
# it is possible to set self.iterm=0 here and also below
# but I dont think its needed
elif error > (1 * config.pid_control_window):
status = "kiln outside pid control window, max heating"
status = "Kiln outside pid control window, max heating"
log.info("kiln outside pid control window, max heating")
output = 1
else: