Skip to content

Commit 8832e7c

Browse files
committed
On branch aht20_update
Configuration file for aht20 v2.0.0 Changes to be committed: new file: Kconfig
1 parent d4975af commit 8832e7c

File tree

1 file changed

+20
-0
lines changed
  • components/sensors/humiture/aht20

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
menu "AHT20 : CONFIGURATION"
2+
3+
config AHT20_CHECK_CRC
4+
bool "perform crc check on AHT20 readings"
5+
help
6+
CRC check to be performed on results or not?.
7+
default n
8+
9+
10+
config AHT20_I2C_CLK_SPEED
11+
int "I2C clock speed"
12+
default 100000
13+
range 1 400000
14+
help
15+
Clock speed used for i2c communication by AHT20 device.
16+
It is recommended to use clock speeds in upper ranges of 100kHz to 200kHz.
17+
Higher clock speeds may cause occasional data inconsistencies depending on your board layout and wiring.
18+
19+
endmenu
20+

0 commit comments

Comments
 (0)