Didn't realise DS18B20 was 1-Wire Will probably just find a library for that one - can't be arsed doing more bit banging
26 lines
549 B
Plaintext
26 lines
549 B
Plaintext
menu "PMS5003"
|
|
config PMS5003_ENABLED
|
|
bool "PMS5003 Enabled"
|
|
default y
|
|
|
|
config PMS5003_UART_PORT
|
|
int "PMS5003 UART PORT"
|
|
default 0
|
|
depends on PMS5003_ENABLED
|
|
|
|
config PMS5003_UART_TX
|
|
int "PMS5003 UART Tx GPIO Pin"
|
|
default 4
|
|
depends on PMS5003_ENABLED
|
|
|
|
config PMS5003_UART_RX
|
|
int "PMS5003 UART Rx GPIO Pin"
|
|
default 5
|
|
depends on PMS5003_ENABLED
|
|
|
|
config PMS5003_PERIOD_POLL
|
|
int "Period to poll the PMS5003 in seconds"
|
|
default 8
|
|
depends on PMS5003_ENABLED
|
|
endmenu
|