mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
7ea8f738fd
drivers/seesaw_soil: Add support for Adafruit Seesaw Soil moisture sensor
24 lines
678 B
Plaintext
24 lines
678 B
Plaintext
# Copyright (c) 2020 Viktor Gal
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
menuconfig KCONFIG_MODULE_SEESAW_SOIL
|
|
bool "Configure SEESAW_SOIL driver"
|
|
depends on MODULE_SEESAW_SOIL
|
|
help
|
|
Configure the SEESAW_SOIL driver using Kconfig.
|
|
|
|
if KCONFIG_MODULE_SEESAW_SOIL
|
|
|
|
config SEESAW_SOIL_I2C_ADDRESS
|
|
hex "I2C default address"
|
|
range 0x36 0x39
|
|
default 0x36
|
|
help
|
|
SEESAW_SOIL allows for up to 4 devices on single bus. The value depends on
|
|
the state of AD1 and AD0 pins.
|
|
|
|
endif # KCONFIG_MODULE_SEESAW_SOIL
|