aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras
diff options
context:
space:
mode:
authorUli <SirUli@users.noreply.github.com>2022-04-11 16:33:41 +0200
committerGitHub <noreply@github.com>2022-04-11 10:33:41 -0400
commit240f8ea60b11c6eb26f2b55032e04a982a4aa9f8 (patch)
tree94690fa0e70a19a708666773dce257abe2200ece /klippy/extras
parent4d4c8d8f94e56f3b4f809a2f8249df37b50c741a (diff)
downloadkutter-240f8ea60b11c6eb26f2b55032e04a982a4aa9f8.tar.gz
kutter-240f8ea60b11c6eb26f2b55032e04a982a4aa9f8.tar.xz
kutter-240f8ea60b11c6eb26f2b55032e04a982a4aa9f8.zip
htu21d: SI7021 is has id 0x15 (#5375)
This is most probably the result of a copy paste error. All vendor documentation for SI7021 (e.g. https://www.silabs.com/documents/public/data-sheets/Si7021-A20.pdf) points to 21 and it actually only works when adapted to 0x15 (=21). Signed-off-by: Uli Wolf <github+klipper@wolf-u.li>
Diffstat (limited to 'klippy/extras')
-rw-r--r--klippy/extras/htu21d.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/htu21d.py b/klippy/extras/htu21d.py
index 74a6ad20..16da7f8e 100644
--- a/klippy/extras/htu21d.py
+++ b/klippy/extras/htu21d.py
@@ -14,7 +14,7 @@ from . import bus
# HTU21D - Tested on Linux MCU.
# Si7013 - Untested
# Si7020 - Untested
-# Si7021 - Untested
+# Si7021 - Tested on Pico MCU
# SHT21 - Untested
#
######################################################################
@@ -56,7 +56,7 @@ HTU21D_DEVICES = {
'TEMP13_HUM10':[ .7, .5],
'TEMP12_HUM08':[ .4, .4],
'TEMP11_HUM11':[ .3, .7]},
- 'SI7021':{'id':0x14,
+ 'SI7021':{'id':0x15,
'TEMP14_HUM12':[.11,.12],
'TEMP13_HUM10':[ .7, .5],
'TEMP12_HUM08':[ .4, .4],