Greetings,
I recently purchased three tft displays from Adafruit, one with resistive touch, and two with capacitive touch. The touch isn’t the problem though.
One of the capacitive touch displays has a problem with column 0 (configured as landscape with tft.setRotation(1)). It barely shows a hint of column 1, while column 0 is not there at all. The other displays seems to be fine. Please see the attached pictures.
The screens are drawn with the exact same code.
draw_Screen_Heading("Main Menu");
tft.drawPixel(0, 50, TFT_WHITE);
tft.drawPixel(1, 52, TFT_WHITE);
tft.drawPixel(318, 50, TFT_WHITE);
tft.drawPixel(319, 52, TFT_WHITE);
createButton(0, 120, 155, 60, 10, "Touch debug", TFT_LIRG_GREY_MENU);
createButton(165, 120, 155, 60, 10, "Settings", TFT_LIRG_GREY_MENU);
createButton(80, 194, 160, 46, 10, "Exit", TFT_LIRG_GREY_MENU);
void createButton(int xPos, int yPos, int buttonWidth, int buttonHeight, int cornerRadius, String buttonCaption, uint color)
{
tft.setFreeFont(FMB9);
tft.drawRoundRect(xPos, yPos, buttonWidth, buttonHeight, cornerRadius, TFT_WHITE);
tft.drawRoundRect(xPos + 1, yPos + 1, buttonWidth - 2, buttonHeight - 2, cornerRadius, TFT_WHITE);
tft.fillRoundRect(xPos + 2, yPos + 2, buttonWidth - 4, buttonHeight - 4, cornerRadius, color);
tft.setTextDatum(CC_DATUM);
tft.setTextColor(TFT_WHITE);
tft.drawString(buttonCaption, xPos + (buttonWidth / 2), yPos + (buttonHeight / 2) - 2);
tft.setFreeFont(NULL);
create_Touch_Coordinates(xPos, yPos, buttonWidth, buttonHeight, buttonCaption);
}
Please notice the pixels on each side of rows 50 and 52, which I have drawn to highlight the problem.
The faulty display:
IMG_8578.jpg
The working display:
IMG_8577.jpg
Here is the order confirmation:
==========================
Products
------------------------------------------------------
2 x 2.8" TFT LCD with Cap Touch Breakout Board w/MicroSD Socket (EYESPI
Connector) [ID:2090] = $59.90
1 x 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket (ILI9341)
[ID:1770] = $29.95
------------------------------------------------------
Sub-Total: $89.85
DHL Express (1 x 0.71lbs) (Express Worldwide): $34.16
Sales Tax: $0.00
Total: $124.01
Delivery Address
------------------------------------------------------
Ivar Dahl
[/img]
Billing Address
------------------------------------------------------
Ivar Dahl
Payment Method
———————————————————————————
PayPal
Will you replace the faulty display please?
Looking forward to hearing from you.
Vennlig hilsen / Best regards
Ivar Dahl
[email protected]
Faulty tft display
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- ivardahl
- Posts: 2
- Joined: Tue Mar 12, 2019 2:24 am
Faulty tft display
- Attachments
-
- IMG_8578 Large.jpeg (241.81 KiB) Viewed 113 times
-
- IMG_8577 Large.jpeg (232.57 KiB) Viewed 113 times
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Faulty tft display
This is a great comparison running the same code on both displays to show the offset. Thank you for the quality pics.
Please e-mail [email protected] to setup the replacement of ADA# 2090. They will need this forum link as your authorization and your order#.
Please e-mail [email protected] to setup the replacement of ADA# 2090. They will need this forum link as your authorization and your order#.
- ivardahl
- Posts: 2
- Joined: Tue Mar 12, 2019 2:24 am
Re: Faulty tft display
Thanks a lot. Very appreciated :)
--ivar
--ivar
Please be positive and constructive with your questions and comments.