TouchScreen ts = TouchScreen(XP, YP, XM, YM)
For the one we're using, its 300 ohms across the X plate between X+ and X- Use any multimeter to read it For better pressure precision, we need to know the resistance This demo code returns raw readings, public domain I then ran a sketch to read out the analog value of A1 and A2.
I just added some ceramic multilayer caps as described. TouchScreen(uint8_t xp, uint8_t yp, uint8_t xm, uint8_t ym, uint16_t rx) TouchScreen(uint8_t xp, uint8_t yp, uint8_t xm, uint8_t ym) TSPoint(int16_t x, int16_t y, int16_t z) Touch screen library with X Y and Z (pressure) readings as well For clarity these are the libs concerned: I downloaded everything from the links indicated in this post and installed it as per instructions provided.