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>
This commit is contained in:
Uli 2022-04-11 16:33:41 +02:00 committed by GitHub
parent 4d4c8d8f94
commit 240f8ea60b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ from . import bus
# HTU21D - Tested on Linux MCU. # HTU21D - Tested on Linux MCU.
# Si7013 - Untested # Si7013 - Untested
# Si7020 - Untested # Si7020 - Untested
# Si7021 - Untested # Si7021 - Tested on Pico MCU
# SHT21 - Untested # SHT21 - Untested
# #
###################################################################### ######################################################################
@ -56,7 +56,7 @@ HTU21D_DEVICES = {
'TEMP13_HUM10':[ .7, .5], 'TEMP13_HUM10':[ .7, .5],
'TEMP12_HUM08':[ .4, .4], 'TEMP12_HUM08':[ .4, .4],
'TEMP11_HUM11':[ .3, .7]}, 'TEMP11_HUM11':[ .3, .7]},
'SI7021':{'id':0x14, 'SI7021':{'id':0x15,
'TEMP14_HUM12':[.11,.12], 'TEMP14_HUM12':[.11,.12],
'TEMP13_HUM10':[ .7, .5], 'TEMP13_HUM10':[ .7, .5],
'TEMP12_HUM08':[ .4, .4], 'TEMP12_HUM08':[ .4, .4],