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
2.8" TFT LCD with Touchscreen
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: 2.8" TFT LCD with Touchscreen
The adafruit TFTLCD library works with the 2.8" 18-bit color TFT LCD with touchscreen breakout board and also with the 2.8" TFT Touch Shield for Arduino.
-
- Posts: 5
- Joined: Thu Aug 02, 2012 11:38 pm
Re: 2.8" TFT LCD with Touchscreen
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 error: 'class Adafruit_TFTLCD' has no member named 'setRotation'
graphicstest.cpp: In function 'void testFillRoundRect()':
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'width'
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'fillRoundRect'
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'width'
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'height'
graphicstest.cpp: In function 'void testRoundRect()':
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'width'
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'drawRoundRect'
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 error: 'class Adafruit_TFTLCD' has no member named 'setRotation'
graphicstest.cpp: In function 'void testFillRoundRect()':
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'width'
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'fillRoundRect'
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'width'
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'height'
graphicstest.cpp: In function 'void testRoundRect()':
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'width'
graphicstest.pde error: 'class Adafruit_TFTLCD' has no member named 'drawRoundRect'
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: 2.8" TFT LCD with Touchscreen
@TESBill - you do not have the GFX library installed in the right location. See: http://www.ladyada.net/library/arduino/libraries.html
-
- Posts: 5
- Joined: Thu Aug 02, 2012 11:38 pm
Re: 2.8" TFT LCD with Touchscreen
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?
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?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: 2.8" TFT LCD with Touchscreen
@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
-
- Posts: 5
- Joined: Thu Aug 02, 2012 11:38 pm
Re: 2.8" TFT LCD with Touchscreen
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.
Please be positive and constructive with your questions and comments.