can't verify 'touch paint' tutorial sketch
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- smithh
- Posts: 13
- Joined: Wed Jun 01, 2011 2:46 pm
can't verify 'touch paint' tutorial sketch
Bought a 2.8" TFT arduino shield and am going through the tutorials, they all worked until I got to the 'touch paint' sketch. The problem is wire.h can't be found. Attached or screen shots showing the problem.
- Attachments
-
- wire_prob.gif (70.48 KiB) Viewed 274 times
-
- wire_prob_path.gif (87.67 KiB) Viewed 274 times
- adafruit_support_bill
- Posts: 88086
- Joined: Sat Feb 07, 2009 10:11 am
Re: can't verify 'touch paint' tutorial sketch
Wire.h is part of the Arduino install. You shouldn't have to move it anywhere.
I see you are using 1.5.5 Beta. This is still Beta software. Unless you are programming a Yun or a Due, you should be using one of the full releases such as 1.0.5.
I see you are using 1.5.5 Beta. This is still Beta software. Unless you are programming a Yun or a Due, you should be using one of the full releases such as 1.0.5.
- smithh
- Posts: 13
- Joined: Wed Jun 01, 2011 2:46 pm
Re: can't verify 'touch paint' tutorial sketch
OK. Loaded 1.0.5 IDE and got most of the tutorial to work. The 'touch paint' sketch isn't working. When uploaded it displays the color select menu then nothing. I modified the sketch and opened the serial monitor. See attachment. The shield is mounted on a Freetronics Eleven non R3 (UNO), which shouldn't be a problem.
- Attachments
-
- ts.gif (47.07 KiB) Viewed 239 times
- adafruit_support_bill
- Posts: 88086
- Joined: Sat Feb 07, 2009 10:11 am
Re: can't verify 'touch paint' tutorial sketch
This is the V2 Touch Shield, correct? What do you get for output when running the TouchTest sketch from the STMPE610 library?
Use the Hardware SPI option, with pin 8 for CS:
Use the Hardware SPI option, with pin 8 for CS:
Code: Select all
// Option #2 - use hardware SPI, connect to hardware SPI port only!
// SDI to MOSI, SDO to MISO, and SCL to SPI CLOCK
// on Arduino Uno, that's 11, 12 and 13 respectively
// Then pick a CS pin, any pin is OK but we suggest #10 on an Uno
// tie MODE to 3.3V and POWER CYCLE the STMPE610 (there is no reset pin)
Adafruit_STMPE610 touch = Adafruit_STMPE610(8);
- smithh
- Posts: 13
- Joined: Wed Jun 01, 2011 2:46 pm
Re: can't verify 'touch paint' tutorial sketch
Yes. I have the V2 shield.
the screen turns white and nothing happens. I'm using a stylus for touching.
the screen turns white and nothing happens. I'm using a stylus for touching.
- adafruit_support_bill
- Posts: 88086
- Joined: Sat Feb 07, 2009 10:11 am
Re: can't verify 'touch paint' tutorial sketch
OK. If you contact [email protected] with a link to this thread we can send you a replacement.
- smithh
- Posts: 13
- Joined: Wed Jun 01, 2011 2:46 pm
Re: can't verify 'touch paint' tutorial sketch
Just a note to say thank you for the prompt service on the new shield. I received it plugged in and turned it on narrowing runs just fine you do provide good service thank you very much.
Hugh Smith
Hugh Smith
Please be positive and constructive with your questions and comments.