Add the tap detection trigger to the existing example. For this example it uses lis2dw12 accelerometer to detect a double tap. This feature can be enabled with CONFIG_SAMPLE_TAP_DETECTION option. Signed-off-by: Pierrick Curt <pierrickcurt@gmail.com>
14 lines
249 B
Plaintext
14 lines
249 B
Plaintext
#
|
|
# Copyright (c) 2025 Pierrick Curt
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
mainmenu "Accelerometer trigger sample application"
|
|
|
|
config SAMPLE_TAP_DETECTION
|
|
bool "Set tap detection as trigger in the sample"
|
|
default n
|
|
|
|
source "Kconfig.zephyr"
|