Display BMP Pictures from SD Card on TFT LCD Shield

A little tutorial to make a digital photo frame, and also use the touch functions to navigate between images.

Dec 24, 2018

58798 views

9 respects

Components and supplies

1

Arduino UNO

Project description

Code

TFT_Shield_SD_2.ino

arduino

TFT_Shield_SD_2.ino

arduino

TFT_Shield_SD_1.ino

arduino

Downloadable files

untitled

It's a shield :D

untitled

untitled

It's a shield :D

untitled

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

i want to display gif (from sd card) on a 32x32 led, do i need to convert them into rgb values to get them to display and if so,how do I do it?

Anonymous user

2 years ago

for the TFT_Shield_SD_2.ino, will it work with jpeg?

Anonymous user

2 years ago

I try for display bmp image , but at starting when i compile Code_3, there is a error show with word " 'read16' was not declared in the scope". Please help I am new here and sorry for bad english

Anonymous user

2 years ago

Another way to solve it is to do a forward declaration: ```cpp void a(); // Just the signature! void b() { a(); } void a() {} ``` But if you define them before is also OK (And less code!)

Anonymous user

2 years ago

The problem is that the program does not have forward declarations of the functions, and they are being used before declaration. To solve it, just move them above the function that is yielding the error. Eg: ```cpp void a() {} void b(){ a(); } //OK! void b() { a(); } //BAD! void a() {} // <- this should be BEFORE b(){}. ``` And as a side note, well... the libraries work and the signature of the board is OK, but the only thing I see is a blank screen. I've heard that this is a common troubleshooting issue, but can't find a fix for it. Any ideas?

ianchance

3 years ago

what kind of SD card micro or large.

tarbear123

4 years ago

for the TFT_Shield_SD_2.ino, will it work with jpeg?

tarbear123

4 years ago

i want to display gif (from sd card) on a 32x32 led, do i need to convert them into rgb values to get them to display and if so,how do I do it?

Anonymous user

5 years ago

I try for display bmp image , but at starting when i compile Code_3, there is a error show with word " 'read16' was not declared in the scope". Please help I am new here and sorry for bad english

Anonymous user

2 years ago

Another way to solve it is to do a forward declaration: ```cpp void a(); // Just the signature! void b() { a(); } void a() {} ``` But if you define them before is also OK (And less code!)

Anonymous user

2 years ago

The problem is that the program does not have forward declarations of the functions, and they are being used before declaration. To solve it, just move them above the function that is yielding the error. Eg: ```cpp void a() {} void b(){ a(); } //OK! void b() { a(); } //BAD! void a() {} // <- this should be BEFORE b(){}. ``` And as a side note, well... the libraries work and the signature of the board is OK, but the only thing I see is a blank screen. I've heard that this is a common troubleshooting issue, but can't find a fix for it. Any ideas?