summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-01-17 20:20:11 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-17 20:20:11 +0100
commit5a7888855da087504e8e523a6b79819c529f1830 (patch)
tree711157640dd6dcd9daed8bfd02518168fe9aafbe /README.md
parent99a22379fe64903029f2a8a39a16ea4df146ffb7 (diff)
README: Mention hdc1080.setup() call
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4793209..4da29ab 100644
--- a/README.md
+++ b/README.md
@@ -48,6 +48,8 @@ Copy **ccs811.lua** to your NodeMCU board and set it up as follows.
ccs811 = require("ccs811")
i2c.setup(0, 1, 2, i2c.SLOW)
ccs811.start()
+-- optionally, if HDC1080 is available:
+hdc1080.setup()
-- can be called with up to 1 Hz
function some_timer_callback()