1#
2# Copyright (c) 2021 Leonard Pollak
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7mainmenu "SGP40/SHT4X sample application"
8
9config APP_USE_COMPENSATION
10	bool "Use the T/RH compensation feature of the SGP40"
11	default y
12
13config APP_USE_HEATER
14	bool "Use the Heater on the SHT4X"
15	default n
16	help
17		Maximum duty cycle for using the heater is 5%
18
19config APP_HEATER_HUMIDITY_THRESH
20	int "RH [%] threshold above which the heater will be activated"
21	range 0 99
22	default 65
23	depends on APP_USE_HEATER
24
25config APP_HEATER_PULSE_POWER
26	int "Heater Power Setting"
27	range 0 2
28	default 2
29	depends on APP_USE_HEATER
30	help
31		0 -> High power heater pulse -> ~200 mW  @3.3V
32		1 -> Medium power heater pulse -> ~110 mW  @3.3V
33		2 -> Low power heater pulse -> ~20 mW  @3.3V
34
35config APP_HEATER_PULSE_DURATION
36	int "Heater Pulse Length Setting"
37	range 0 1
38	default 1
39	depends on APP_USE_HEATER
40	help
41		0 -> Long heater pulse -> 1.1s
42		1 -> Short heater pulse -> 0.11s
43
44source "Kconfig.zephyr"
45