make touch sensors a little more sensitive
This commit is contained in:
parent
495524b96b
commit
fb5cc5d6d5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue