Author Topic: TFT Touch on Arduino  (Read 1738 times)

0 Members and 1 Guest are viewing this topic.

Offline Nickk2057Topic starter

  • Regular Contributor
  • *
  • Posts: 235
  • Country: us
TFT Touch on Arduino
« on: January 12, 2015, 05:00:50 am »
Alright... so i bought a 2.8" TFT Touch Shield from Seeed Studio. is a v1.0 type. when i get to try to put the stuff on the Arduino it gets this...... I am clueless on this to even find out how to fix this... and i want to use this for my program to use for computer status.

any help is appreciated.

Thanks,

Nickk2057
just keep believing in yourself.. you can do some remarkable things in your life when you break through the ice and make things happen with the stuff you make
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 10220
  • Country: nz
Re: TFT Touch on Arduino
« Reply #1 on: January 12, 2015, 06:06:50 am »
The compiler doesn't know what type "TouchScreen" is.
You'll be missing an #include line that pulls in the library.
probably something like.. #include "TouchScreen.h"

You need to "have" that library on your PC of course. I believe you get it from the adafruit page.
« Last Edit: January 12, 2015, 06:11:37 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline Nickk2057Topic starter

  • Regular Contributor
  • *
  • Posts: 235
  • Country: us
Re: TFT Touch on Arduino
« Reply #2 on: January 12, 2015, 06:22:58 am »
it does though.....
just keep believing in yourself.. you can do some remarkable things in your life when you break through the ice and make things happen with the stuff you make
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5550
  • Country: us
Re: TFT Touch on Arduino
« Reply #3 on: January 12, 2015, 07:50:40 am »
In this wiki they call the header TouchScreen.h

http://www.seeedstudio.com/wiki/2.8%27%27_TFT_Touch_Shield_V1.0

Code: [Select]
#include <stdint.h>
#include <TouchScreen.h>
#include <TFT.h>

They do have links to the libraries needed, maybe it's for a different TFT touch shield? not sure.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf