CONFIG_GROVE_LIGHT_SENSOR_ADC_CHANNEL

ADC channel used by Grove Light Sensor

Type: int

Help

Specify the channel of the ADC to which the Grove Light Sensor is connected.

Direct dependencies

GROVE_LIGHT_SENSOR && SENSOR

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/sensor/grove/Kconfig:30

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:64drivers/sensor/Kconfig:64

Menu path: (top menu) → Device Drivers → Sensor Drivers → Enable the Seeed Grove Light Sensor

config GROVE_LIGHT_SENSOR_ADC_CHANNEL
    int
    prompt "ADC channel used by Grove Light Sensor" if GROVE_LIGHT_SENSOR && SENSOR
    default 10 if GROVE_LIGHT_SENSOR && SENSOR
    depends on GROVE_LIGHT_SENSOR && SENSOR
    help
      Specify the channel of the ADC to which the Grove Light Sensor is
      connected.

(Definitions include propagated dependencies, including from if’s and menus.)