aht10: update comments and docs for AHT20/AHT21 support

The control bytes for the AHT20 and AHT21 are identical to the AHT10, but I had not been able to test just yet to ensure the sensor code supported the other sensors. I've wrapped up testing and updated the comments/docs to reflect this additional support.

Signed-off-by: Scott Mudge <mail@scottmudge.com>
This commit is contained in:
Scott Mudge 2023-04-21 09:38:44 -04:00 committed by KevinOConnor
parent 5a49372dec
commit 10e816979e
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# AHT10 I2c-based humiditure sensor support
# AHT10/AHT20/AHT21 I2c-based humiditure sensor support
#
# Copyright (C) 2023 Scott Mudge <mail@scottmudge.com>
#
@ -9,6 +9,8 @@ from . import bus
######################################################################
# Compatible Sensors:
# AHT10 - Tested w/ BTT GTR 1.0 MCU on i2c3
# AHT20 - Untested but should work
# AHT21 - Tested w/ BTT GTR 1.0 MCU on i2c3
######################################################################
AHT10_I2C_ADDR= 0x38