co2-firmware/main/Kconfig.projbuild
2022-12-14 12:04:09 +01:00

32 lines
544 B
Plaintext

menu "CO2Sense config"
menu "I2C pins"
config SDA_PIN
int "pin"
range 0 10
default 10
help
The SDA pin
config SCL_PIN
int "pin"
range 0 10
default 9
help
The SCL pin
endmenu
menu "Battery"
config BATTMS_CHANNEL
int "channel"
range 0 10
default 4
help
BATTMS channel, the pin where the battery voltage divider is connected (!ADC Channel NOT pin, see datasheet)
config BATTMS_ADC_BITWIDTH
int "bitwidth"
range 9 13
default 12
help
adc sample bitwidth
endmenu
endmenu