Discussion in "Project Help" started by    skakooli2    Jun 21, 2011.
Tue Jun 21 2011, 08:32 pm
#1
Hi.
I just purchased a tft lcd 3.2" touch screen module.
I got also examples wrote in C - one for displaying a specific picture, and one for interfacing the lcd touch option.
Both examples worked perfect for me.
Now the thing is that i want to change the picture that comes with the example, and i figured out that in order to change the picture, i need to change the image[3200] array values. The problem is that i don't know from where to get the values about a picture that i want to display on the lcd.
i attached the display code, please help me i'm despert
this is the link for downloading the code for displaying an image it displays a pingoine picture - http://www.sendspace.com/file/d7zpbx


[ Edited Tue Jun 21 2011, 08:35 pm ]
Tue Jun 21 2011, 11:58 pm
#2
First you will need to find what format your screen module uses.
There are several, using different numbers of bits to hold the colours.

Then you can search the net for a program that will convert your image to the correct format.
Finally, search for a program that converts binary files into text suitable to cut and paste into your
program.

The second program(binary to text) is relatively simple, so you could write your own
if you know 'C' or a similar language.


[ Edited Wed Jun 22 2011, 12:01 am ]
Wed Jun 22 2011, 04:43 am
#3
Hi,
Fiest of all thank you for the fast reply...
I got two datasheets from the supplier. one is on the ssd1289 controller, and the other is on the tft lcd.
I tried to figure out what format my screen module uses but without sccess and i'm stuck.
This is the ssd1289 controller data sheet - http://www.sendspace.com/file/i1z9h2
and this is the tft lcd datasheet - http://www.sendspace.com/file/p53oda
Can you please tell me which format does my LCD use?
I guess that the format is 16 bits because there is 16 data bits but i'm not sure.
Thank you very much indeed, shachar.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am
Anthonyvab
Wed Apr 17 2024, 08:48 am
RobertCix
Wed Apr 17 2024, 06:46 am
Astorne
Tue Apr 16 2024, 08:52 pm