From a45ebe4bf888abcc6cc8611206eed9e9e2a1f10e Mon Sep 17 00:00:00 2001 From: Mikael Frykholm Date: Sat, 25 Nov 2017 15:35:41 +0000 Subject: [PATCH] Added top of tank sensor. --- heatpump.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/heatpump.py b/heatpump.py index d715d07..b003c9f 100644 --- a/heatpump.py +++ b/heatpump.py @@ -26,8 +26,10 @@ def temp_get(volts,supply_voltage=5): while(True): vv_retur=temp_get(DAQC.getADC(0,0),DAQC.getADC(0,8)) + vv_top=temp_get(DAQC.getADC(0,2),DAQC.getADC(0,8)) hetgas=temp_get(DAQC.getADC(0,1),DAQC.getADC(0,8)) print("VV retur:",vv_retur) + print("VV top:",vv_top) print("Hetgas:",hetgas) print("Kompressor:",compressor()) if vv_retur < 35: -- 2.39.2