I'm using the TFT.h, TouchScreen.h and the examples which are included in the package found in the resources downloads on the wiki page for the devicehttp://www.seeedstudio.com/wiki/2.8''_TFT_Touch_Shield_V1.0#Resources

I haven't modified the code at all. I would post it here if I was at my computer.

I can't find A1 or A2 anywhere in the tft or touch screen libraries. I haven't checked the other libraries used by the sketches yet. I get the not declared part, buy I'm not sure what "in this scope" means.

I think the fundamental problem is that I'm using either outdated, incompatible, or insufficient code to interface a product primarily designed for seeeduino with arduino.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA*//* Modified record: 2012.3.27 by Frankie.Chu Add the macro definitions,public funtion and private variable for the char display direction.*/#include <Arduino.h>#include <avr/pgmspace.h>

// Paint application - Demonstate both TFT and Touch Screen// This library is free software; you can redistribute it and/or// modify it under the terms of the GNU Lesser General Public// License as published by the Free Software Foundation; either// version 2.1 of the License, or (at your option) any later version.//// This library is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU// Lesser General Public License for more details.//// You should have received a copy of the GNU Lesser General Public// License along with this library; if not, write to the Free Software// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA#include <stdint.h>#include <TouchScreen.h> #include <TFT.h>

#ifdef SEEEDUINO #define YP A2 // must be an analog pin, use "An" notation! #define XM A1 // must be an analog pin, use "An" notation! #define YM 14 // can be a digital pin, this is A0 #define XP 17 // can be a digital pin, this is A3 #endif

#ifdef MEGA #define YP A2 // must be an analog pin, use "An" notation! #define XM A1 // must be an analog pin, use "An" notation! #define YM 54 // can be a digital pin, this is A0 #define XP 57 // can be a digital pin, this is A3 #endif //Measured ADC values for (0,0) and (210-1,320-1)//TS_MINX corresponds to ADC value when X = 0//TS_MINY corresponds to ADC value when Y = 0//TS_MAXX corresponds to ADC value when X = 240 -1//TS_MAXY corresponds to ADC value when Y = 320 -1

The only thing left that I can think of is to verify your libraries are in the one and only correct location, and that there are no other libraries with similar names, such as TFT.old.h, or TFT.h.mod, etc. I found that libraries I had modified to try various things were getting read, even though they were named differently, but still contained TFT (for example). I had to remove all experimental libraries from my folder where the TFT and Touch libraries reside.

I use a Mac so I don't know the location for your libraries.

I have verified that the Paint sketch does run with Arduino 1.04.

Post back results.

-__-

Software's good, software's impressive, but it's hardware that does the work.