summaryrefslogtreecommitdiff
path: root/temt6000.lua
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-01-14 17:05:08 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-14 17:05:08 +0100
commit3f3f4aa6de87cbffe10fa3b181a3d4609aeed9bc (patch)
tree49bba7921b3944146ac13a409671a3a51f2dda2b /temt6000.lua
parent7724c18277bc21e8d55f3ff0bf015cd5409607fa (diff)
temt6000: _always_ return estimation and raw reading
Diffstat (limited to 'temt6000.lua')
-rw-r--r--temt6000.lua2
1 files changed, 1 insertions, 1 deletions
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