Arduino + touchscreen Adafruit shield 2.8" IL problemi di debouncing

ho provato a cercare altre info e nell'esempio con la libreria ho trovato scritto questo:

// Option #2 - use hardware SPI, connect to hardware SPI port only!
// SDI to MOSI, SDO to MISO, and SCL to SPI CLOCK
// on Arduino Uno, that's 11, 12 and 13 respectively
// Then pick a CS pin, any pin is OK but we suggest #10 on an Uno
// tie MODE to 3.3V and POWER CYCLE the STMPE610 (there is no reset pin)

//Adafruit_STMPE610 touch = Adafruit_STMPE610(STMPE_CS);

l'ultima riga è quella che usi tu quindi devi usare i pin
11 MOSI con SDI
12 MISO con SDO
13 CLOCK con SCL

e quindi il pin
CS che può essere uno qualunque
domanda sono collegati così?
dopodichè fai una prova con touched

void loop() {
   // See if there's any  touch data for us
  TS_Point p ;
   if (ts.touched()) {            //<---------------------------
      // Retrieve a point
      p = ts.getPoint();
      // Scale using the calibration #'s
      // and rotate coordinate system
   }

inoltre potresti provare a cambiare la sensibilità del touch mettendo nel begin() un valore tra 0 e 255

begin(threshvalue) wish a number from 0-255 to set the touch threshhold