From 02dfa1385e25875659eec20313b8914ccbf60954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gassmann?= Date: Fri, 11 Oct 2024 02:18:54 +0200 Subject: [+] Button module with long / short press and release detection --- main/Kconfig.projbuild | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'main/Kconfig.projbuild') diff --git a/main/Kconfig.projbuild b/main/Kconfig.projbuild index 4ff3093..85eb1ee 100644 --- a/main/Kconfig.projbuild +++ b/main/Kconfig.projbuild @@ -144,6 +144,12 @@ menu "Configuration of the Nixie Screen" default 3 help Pin number for N3_P3. + + config BUTTON_PIN + int "Pin number for the button" + default 9 + help + Pin number for the button. config ESP_DPP_LISTEN_CHANNEL_LIST string "DPP Listen channel list" @@ -166,14 +172,4 @@ menu "Configuration of the Nixie Screen" default "pool.ntp.org" help Hostname of the main SNTP server. - - choice SNTP_TIME_SYNC_METHOD - prompt "Time synchronization method" - default SNTP_TIME_SYNC_METHOD_IMMED - help - Time synchronization method. - - config SNTP_TIME_SYNC_METHOD_IMMED - bool "update time immediately when received" - endchoice endmenu \ No newline at end of file -- cgit v1.2.3