From fb5cc5d6d59e98927abc66223a2f137f94d1b18b Mon Sep 17 00:00:00 2001 From: true Date: Sat, 10 Aug 2024 07:06:54 -0700 Subject: [PATCH] make touch sensors a little more sensitive --- firmware/user/src/touch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/user/src/touch.h b/firmware/user/src/touch.h index ef7913f..946c100 100644 --- a/firmware/user/src/touch.h +++ b/firmware/user/src/touch.h @@ -18,7 +18,7 @@ #define TBTN2 ADC_Channel_9 // left button #define TBTN_IDLE_LOW_VAL 0xfd0 // values above this == not touched. used to calibrate -#define TBTN_PUSHED_COUNTS 0x37f // counts must drop below tbtn_idle_cal-TBTN_THRESHOLD to be considered a press +#define TBTN_PUSHED_COUNTS 0x4af // counts must drop below tbtn_idle_cal-TBTN_THRESHOLD to be considered a press #define ADC_CTLR1_TKENABLE (1 << 24)