
STKS A96T418GDN Shield Board quick Guide
Function description (Using Touch library)
29
4.1.1.18
#define THD_DETECT_CHXX [n]
━
Set the threshold for each channel.
━
If the Diff data exceeds Threshold (THD), a Key detect event will occur.
━
Setting range (50 ~ 2000)
4.1.1.19
#define THD_RELEASE_RATE_VAL [n]
━
function sets the level for key-release judgement.
━
Key release judgement level is rate % of the THD (threshold).
━
By default, it is set to 70% of THD, too high or too low may affect touch behavior.
━
Setting range (50~80) : default 70
Figure 28. Press Threshold & Release threshold (set 50% rate)