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 ifs and menus.)

Default

  • 10

Kconfig definition

At drivers/sensor/grove/Kconfig:27

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:56drivers/sensor/Kconfig:70

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

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

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)