Actually I see this lines of code in the example:
Code:
// These are the four touchscreen analog pins
#define YP A2 // A2 must be an analog pin, use "An" notation!
#define XM A3 // A3 must be an analog pin, use "An" notation!
#define YM 5 // 5 can be a digital pin
#define XP 4 // 4 can be a digital pin
However, I see no connections are made in A2, neither A3 or the named pins of the Teensy, then the initialization of the "ts" instance object of the TouchScreen class uses this constant information, maybe I am missing something regarding the touchscreen?
Thanks.