0

Adafruit Touchscreen Breakout does not detect nothing
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Adafruit Touchscreen Breakout does not detect nothing

by adafruit_support_carter on Mon Jun 27, 2022 1:31 pm

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

adafruit_support_carter
 
Posts: 24091
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

by Amidala on Mon Jul 04, 2022 4:16 pm

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"

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

Re: Adafruit Touchscreen Breakout does not detect nothing

by adafruit_support_carter on Wed Jul 06, 2022 12:19 pm

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.

adafruit_support_carter
 
Posts: 24091
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

by Amidala on Sat Jul 09, 2022 6:03 am

Thank you. Have a nice day.

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

Please be positive and constructive with your questions and comments.