aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras
diff options
context:
space:
mode:
authorScott Mudge <mail@scottmudge.com>2023-04-21 09:38:44 -0400
committerKevinOConnor <kevin@koconnor.net>2023-04-24 11:10:00 -0400
commit10e816979e628784ee0b9fe2bc76b2d3f7cc9d50 (patch)
tree2d6f71d47d98d916b390bfc5f8888d8248ded62f /klippy/extras
parent5a49372dec24fc9874c17fa63b6676d3adb9b4f6 (diff)
downloadkutter-10e816979e628784ee0b9fe2bc76b2d3f7cc9d50.tar.gz
kutter-10e816979e628784ee0b9fe2bc76b2d3f7cc9d50.tar.xz
kutter-10e816979e628784ee0b9fe2bc76b2d3f7cc9d50.zip
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>
Diffstat (limited to 'klippy/extras')
-rw-r--r--klippy/extras/aht10.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/klippy/extras/aht10.py b/klippy/extras/aht10.py
index b6cac2e3..001f7e54 100644
--- a/klippy/extras/aht10.py
+++ b/klippy/extras/aht10.py
@@ -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