2.8" TFT LCD with Touchscreen

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
powersoft
 
Posts: 65
Joined: Tue Aug 30, 2011 1:01 am

2.8" TFT LCD with Touchscreen

Post by powersoft »

Hello,

I have an 2.8" TFT LCD with Touchscreen for my arduino.
Is it posible to use the GLCD (v3) library for this 2.8" TFT LCD with Touchscreen?

Thanks allot for anny help.

Cheers

Jan Kromhout
Hellevoetsluis-NL


TESBill
 
Posts: 5
Joined: Thu Aug 02, 2012 11:38 pm

Re: 2.8" TFT LCD with Touchscreen

Post by TESBill »

graphicstest.cpp:1:54: error: Adafruit_GFX.h: No such file or directory
In file included from graphicstest.cpp:2:
C:\Users\Bill\Downloads\arduino-1.0-windows\arduino-1.0\libraries\Adafruit_TFTLCD/Adafruit_TFTLCD.h:88: error: expected class-name before '{' token
graphicstest.cpp: In function 'void loop()':
graphicstest.pde:-1: error: 'class Adafruit_TFTLCD' has no member named 'setRotation'
graphicstest.cpp: In function 'void testFillRoundRect()':
graphicstest.pde:-1: error: 'class Adafruit_TFTLCD' has no member named 'width'
graphicstest.pde:-1: error: 'class Adafruit_TFTLCD' has no member named 'fillRoundRect'
graphicstest.pde:-1: error: 'class Adafruit_TFTLCD' has no member named 'width'
graphicstest.pde:-1: error: 'class Adafruit_TFTLCD' has no member named 'height'
graphicstest.cpp: In function 'void testRoundRect()':
graphicstest.pde:-1: error: 'class Adafruit_TFTLCD' has no member named 'width'
graphicstest.pde:-1: error: 'class Adafruit_TFTLCD' has no member named 'drawRoundRect'

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: 2.8" TFT LCD with Touchscreen

Post by adafruit_support_bill »

@TESBill - you do not have the GFX library installed in the right location. See: http://www.ladyada.net/library/arduino/libraries.html

TESBill
 
Posts: 5
Joined: Thu Aug 02, 2012 11:38 pm

Re: 2.8" TFT LCD with Touchscreen

Post by TESBill »

Thanks for the timely reply, I will have to look into a little deeper.

I do have another question though. I am taking analog measurements and can't figure out how display decimal fraction numbers. I'll elaborate, I know that the arduino uses a 0-1023 to a 0-5 Vdc conversion. When I apply 1.37 Vdc I don' get it displayed, I only get one volt increments and need evrything in between. Do you know where I could get some sample code to do this? or is it even possible to have that resolution?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 2.8" TFT LCD with Touchscreen

Post by adafruit_support_rick »

@Tesbill - Please don't double-post. This is not relevant to the thread topic and has been answered in your original thread. http://forums.adafruit.com/viewtopic.php?f=24&t=31661

TESBill
 
Posts: 5
Joined: Thu Aug 02, 2012 11:38 pm

Re: 2.8" TFT LCD with Touchscreen

Post by TESBill »

Sorry, wasn't the intent. I realized I had posted in the wrong area and reposted in one more appropriate. Thank you for your help.

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

Return to “Arduino”