Image loading from SD to a 3.5 TFT

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Stumpy_L
 
Posts: 86
Joined: Sun Jan 14, 2018 12:31 pm

Image loading from SD to a 3.5 TFT

Post by Stumpy_L »

I just received the 3.5 TFT display I ordered item # 2050. I got the graphics test and touch paint examples to work. I can't seem to be able to load an image, adabot.bmp, from my SD card. The directions are more for a featherwing, not sure if that matters I am using a Ardunio mega 2560. I've tried a couple of the examples and I went to the image loading section and downloaded the libraries and still can't get it. I'm sure I'm not doing something right but not sure what that is.

How do I load an image from the SD card to the TFT?

Thanks
John

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Image loading from SD to a 3.5 TFT

Post by mikeysklar »

Hi Stumpy_L,

Have you tried loading the example sketch "Adafruit_ImageReader→FeatherWingHX8357" as described here:

https://learn.adafruit.com/adafruit-3-5 ... s-spi-mode

more details here:

https://learn.adafruit.com/adafruit-gfx ... ing-images

User avatar
Stumpy_L
 
Posts: 86
Joined: Sun Jan 14, 2018 12:31 pm

Re: Image loading from SD to a 3.5 TFT

Post by Stumpy_L »

I had tried that example last night. I got the message that my SD card was OK but couldn't find the image file. I check it again tonight and it work fine, of course. A couple of questions. In order to display the image I had to swap D/C and CS. The answer may be in the other link you gave me but can I show an image then a graphic with out swapping those?

I see a lot on the Adafruit site about the Featherwings, what is that? Is it your version of a Arduino or I assume there's more to it.

You guys have great stuff and lots of helpful tutorials

Thanks so much for the help
John

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Image loading from SD to a 3.5 TFT

Post by mikeysklar »

Hi John,

The bitmap example here is for SPI mode so you can avoid pin swapping if you use the touchscreen paint examples that are also for SPI mode.

https://learn.adafruit.com/adafruit-3-5 ... ouchscreen

Adafruit has full line of development boards under the Feather Wing title. They are small, powerful and pleasure to use.

https://www.adafruit.com/feather

User avatar
Stumpy_L
 
Posts: 86
Joined: Sun Jan 14, 2018 12:31 pm

Re: Image loading from SD to a 3.5 TFT

Post by Stumpy_L »

I figured there was, I'll check it out. So much to learn

Thanks again
John

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

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”