๐ŸŽ„โ›„โ„๏ธ๐ŸŽ It's beginning to look a lot like ADABOX-mas! The next ADABOX from Adafruit ships soon! Get yours now, or give as a gift! ๐ŸŽ„โ›„โ„๏ธ๐ŸŽ
0

1.8" Color TFT LCD display with MicroSD Card Breakout: Examp
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

1.8" Color TFT LCD display with MicroSD Card Breakout: Examp

by FVA1 on Sat Aug 10, 2019 1:05 am

Hi

In the latest updated Adafruit libraries there in no example of loading an image file from the SD card. Went through the guide but still not sure what libraries in necessary. In earlier versions there was one that I use and it contains a function to open and displays Bitmap images. With that I am able to display images even with compiling warnings. Seems that there are now new libraries that address this?

Can you please post an example sketch with the latest libraries needed for your 1.8" ST7735 LCD with SD card reader.

Thanks

FVA1
 
Posts: 20
Joined: Sat Aug 20, 2016 4:26 am

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: E

by FVA1 on Sat Aug 10, 2019 4:01 am

FVA1 wrote:Hi

In the latest updated Adafruit libraries there in no example of loading an image file from the SD card. Went through the guide but still not sure what libraries in necessary. In earlier versions there was one that I use and it contains a function to open and displays Bitmap images. With that I am able to display images even with compiling warnings. Seems that there are now new libraries that address this?

Can you please post an example sketch with the latest libraries needed for your 1.8" ST7735 LCD with SD card reader.

Thanks


OK, I found it under examples> Adafruit Imagereader Library>BreakoutST7735-

FVA1
 
Posts: 20
Joined: Sat Aug 20, 2016 4:26 am

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: E

by FVA1 on Mon Aug 12, 2019 3:07 pm

OK, but that example is so big there is no room for much else. Any smaller sketch available.

FVA1
 
Posts: 20
Joined: Sat Aug 20, 2016 4:26 am

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: E

by adafruit_support_carter on Mon Aug 12, 2019 5:39 pm

Big how? Like in final code size? What are you running the example on?

adafruit_support_carter
 
Posts: 13589
Joined: Tue Nov 29, 2016 2:45 pm

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: E

by FVA1 on Tue Aug 13, 2019 7:40 am

I am running it on a Pro Mini Atmel328.

The Imagereader Breakout St7735 - 160x128 code size is 26570 bytes. if I then remove all code I don't need, I am left with 22496 bytes. I am busy trying to reduce my code but think I will come short. I need about 12 - 13k space.

FVA1
 
Posts: 20
Joined: Sat Aug 20, 2016 4:26 am

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: E

by adafruit_support_carter on Tue Aug 13, 2019 1:17 pm

It's probably the GFX library and all its various dependencies. Not much else to do but try and remove parts you don't need like you've done.

adafruit_support_carter
 
Posts: 13589
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.