From 3f3f4aa6de87cbffe10fa3b181a3d4609aeed9bc Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 14 Jan 2024 17:05:08 +0100 Subject: temt6000: _always_ return estimation and raw reading --- temt6000.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temt6000.lua b/temt6000.lua index 472148c..69c7110 100644 --- a/temt6000.lua +++ b/temt6000.lua @@ -3,7 +3,7 @@ local temt6000 = {} function temt6000.read() local raw = adc.read(0) if raw < 70 then - return raw + return raw, raw end if raw == 1024 then return 2500, raw -- cgit v1.2.3