From 817e7fdbb7f7259c0c8ef53002f13a38bc5de734 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 16 Jan 2024 21:45:31 +0100 Subject: Remove adc_counts; only work with lx output for now --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9960e2d..35120e4 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,12 @@ temt6000 = require("temt6000") -- can be called as often as the ADC permits function some_timer_callback() - local lx, raw = temt6000.read() + local lx = temt6000.read() if lx ~= nil then -- lx: estimated illuminance [lx] - -- raw: raw ADC counts - -- Note that lx is limited to a usable range of about 20 to 2500 lx. - -- Darkness cannot be detected properly, - -- anything brighter than ~2500 lx will be reported as 2500 lx. + -- Note that lx is limited to a usable range of about 20 to 1000 lx. + -- Darkness cannot always be detected reliably, + -- anything brighter than ~1024 lx will be reported as 1024 lx. else print("TEMT6000 error") end -- cgit v1.2.3