Replace Kconfig configuration data with devicetree bindings using (ADC) io channels. Rework the sample to document expectations about the relationship between the reference voltage and the divider input voltage, and update the sensor configuration to support Nordic SAADC. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
6 lines
112 B
Plaintext
6 lines
112 B
Plaintext
CONFIG_ADC=y
|
|
CONFIG_SENSOR=y
|
|
CONFIG_GROVE_LIGHT_SENSOR=y
|
|
CONFIG_NEWLIB_LIBC=y
|
|
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
|