PaulStoffregen / XPT2046_Touchscreen

Touchscreen Arduino Library for XPT2046 Touch Controller Chip
240 stars 84 forks source link

Thresholds should be settable with function #49

Open tedtoal opened 11 months ago

tedtoal commented 11 months ago

The fixed Z_THRESHOLD value sometimes seems to be too large for a particular system. The thresholds Z_THRESHOLD and Z_THRESHOLD_INT in the XPT2036_Touchscreen.cpp file ought to be user-settable via a function.