Didn't realise DS18B20 was 1-Wire Will probably just find a library for that one - can't be arsed doing more bit banging
16 lines
357 B
Plaintext
16 lines
357 B
Plaintext
menu "DS18B20"
|
|
config DS18B20_ENABLED
|
|
bool "DS18B20 Enabled"
|
|
default y
|
|
|
|
config DS18B20_GPIO_PIN
|
|
int "GPIO Pin used for 1-Wire DS18B20"
|
|
default 15
|
|
depends on DS18B20_ENABLED
|
|
|
|
config DS18B20_PERIOD_POLL
|
|
int "Period to poll the DS18B20 in seconds"
|
|
default 8
|
|
depends on DS18B20_ENABLED
|
|
endmenu
|