Fleshing out some more parts

This commit is contained in:
2023-10-25 21:43:47 +01:00
parent 916e551d39
commit ce0de58466
7 changed files with 54 additions and 13 deletions

View File

@@ -1,6 +1,15 @@
menu "DHT22"
config DHT22_ENABLED
bool "DHT22 Enabled"
default y
config DHT22_DATA_GPIO
int "DHT22 Data GPIO Pin"
default -1
depends on DHT22_ENABLED
config DHT22_PERIOD_POLL
int "Period to poll the DHT22 in ms"
default 2000
depends on DHT22_ENABLED
endmenu

View File

@@ -0,0 +1,3 @@
idf_component_register(SRCS "pms5003.c"
INCLUDE_DIRS "."
REQUIRES driver)

View File

@@ -0,0 +1,15 @@
menu "PMS5003"
config PMS5003_ENABLED
bool "PMS5003 Enabled"
default y
config PMS5003_UART
int "PMS5003 UART Port"
default 1
depends on PMS5003_ENABLED
config PMS5003_PERIOD_POLL
int "Period to poll the PMS5003 in ms"
default 8000
depends on PMS5003_ENABLED
endmenu

View File

View File