Started on DS18B20 and PMS5003
Didn't realise DS18B20 was 1-Wire Will probably just find a library for that one - can't be arsed doing more bit banging
This commit is contained in:
@@ -3,13 +3,23 @@ menu "PMS5003"
|
||||
bool "PMS5003 Enabled"
|
||||
default y
|
||||
|
||||
config PMS5003_UART
|
||||
int "PMS5003 UART Port"
|
||||
default 1
|
||||
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 ms"
|
||||
default 8000
|
||||
int "Period to poll the PMS5003 in seconds"
|
||||
default 8
|
||||
depends on PMS5003_ENABLED
|
||||
endmenu
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user