Adafruit_TouchScreen icon indicating copy to clipboard operation
Adafruit_TouchScreen copied to clipboard

MINPRESSURE 0 not working

Open Bob4u opened this issue 11 years ago • 1 comments

Just correcting the last "if" with the correct :

if (p.z >= MINPRESSURE && p.z < MAXPRESSURE) {

It works also for non-pressure readings, BUT when we touch the panel the library returns the right pressure values mixed to pressure "0" readings even if the touch pad is continuously pressed.

Bob4u avatar Mar 22 '14 23:03 Bob4u

You need to define atleast 10-100 to min pressure to get it working.

Jeroi avatar Mar 24 '15 15:03 Jeroi