0

Image loading from SD to a 3.5 TFT
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Image loading from SD to a 3.5 TFT

by Stumpy_L on Tue Sep 10, 2019 6:36 am

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

Stumpy_L
 
Posts: 44
Joined: Sun Jan 14, 2018 12:31 pm

Re: Image loading from SD to a 3.5 TFT

by mikeysklar on Tue Sep 10, 2019 5:26 pm

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

mikeysklar
 
Posts: 102
Joined: Mon Aug 01, 2016 8:10 pm

Re: Image loading from SD to a 3.5 TFT

by Stumpy_L on Tue Sep 10, 2019 7:00 pm

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

Stumpy_L
 
Posts: 44
Joined: Sun Jan 14, 2018 12:31 pm

Re: Image loading from SD to a 3.5 TFT

by mikeysklar on Tue Sep 10, 2019 7:11 pm

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

mikeysklar
 
Posts: 102
Joined: Mon Aug 01, 2016 8:10 pm

Re: Image loading from SD to a 3.5 TFT

by Stumpy_L on Tue Sep 10, 2019 8:19 pm

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

Thanks again
John

Stumpy_L
 
Posts: 44
Joined: Sun Jan 14, 2018 12:31 pm

Please be positive and constructive with your questions and comments.