make touch sensors a little more sensitive

This commit is contained in:
true 2024-08-10 07:06:54 -07:00
parent 495524b96b
commit fb5cc5d6d5
1 changed files with 1 additions and 1 deletions

View File

@ -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)