Adafruit Touchscreen Breakout does not detect nothing

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by adafruit_support_carter »

Cool, glad it's working. So at least problem is understood and solved.

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

#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

#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.

User avatar
Amidala
 
Posts: 10
Joined: Wed Jun 15, 2022 3:11 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by Amidala »

I followed this tutorial:
https://learn.adafruit.com/adafruit-2-8 ... ode-906193

Which says "Load up the breakoutTouchPaint example from the Adafruit_ILI9341 library and try drawing with your fingernail!"

And also says : "Wire the additional 4 pins as follows:
Y+ to Arduino A2
X+ to Arduino D9 (Same as D/C)
Y- to Arduino D8
X- to Arduino A3"

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by adafruit_support_carter »

Thanks. That does look mis-matched. I submitted a guide feedback for that so the guide author will eventually get a notice to take a look. It's a pretty old guide, so something probably changed and got out of sync.

Sorry for the confusion.

User avatar
Amidala
 
Posts: 10
Joined: Wed Jun 15, 2022 3:11 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by Amidala »

Thank you. Have a nice day.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”