For fixing the docs - Looks like maybe there are two different examples with two different wirings.
The guide wiring here:
https://learn.adafruit.com/adafruit-2-8 ... -906193-10
matches the library example linked from the same guide, which is from the TouchScreen library:
https://github.com/adafruit/Adafruit_To ... endemo.ino
- Code: Select all | TOGGLE FULL SIZE
#define YP A2 // must be an analog pin, use "An" notation!
#define XM A3 // must be an analog pin, use "An" notation!
#define YM 8 // can be a digital pin
#define XP 9 // can be a digital pin
But the breakouttouchpaint.ino example from the ILI9341 library uses slightly different wiring:
https://github.com/adafruit/Adafruit_IL ... hpaint.ino
- Code: Select all | TOGGLE FULL SIZE
#define YP A2 // must be an analog pin, use "An" notation!
#define XM A3 // must be an analog pin, use "An" notation!
#define YM 9 // can be any digital pin
#define XP 8 // can be any digital pin
How did you end up at the breakouttouchpaint.ino example from the ILI9341 library? That'll help us figure out how best to update the documentation.