Go Down

Topic: 4.3" TFT LCD Touch Screen and Arduino Mega (Read 1 time) previous topic - next topic

kernel32

Hi everyone,
Simply i want to draw a picture to my tft lcd touch screen. I bought 4.3" TFT LCD Touch Screen with SD card support. And for the connector/resistor PCB i bought ElecFreaks's TFT LCD Mega Shield v2.2 and i have arduino mega 2560. I found a sample code in Arduino IDE. But it's not working. I think it's about the pin definition. I couldn't find anything about this situation. Program was compiled succesfully and uploaded successfully but at the Serial Monitor loggin this. " Initializing SD card... failed! "
The sample code check out the on Arduino IDE > TFT > Arduino > TFTBitmapLogo.

Thanks...

MarkT

Was there an SDcard in the slot?  If not then initializing an SDcard will definitely fail.
[ I won't respond to messages, use the forum please ]

kernel32

Yes, Of course. I formatted sd card with fat system. It's 8 GB.
Any idea?

MarkT

There is more than one SD library to experiment with, but first check all the signals are
intact and at 3.3V level.  These TFT/SD modules never seem to have level-shifting on the
SDcard.
[ I won't respond to messages, use the forum please ]

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy