Discussion in "Project Help" started by    skakooli2    Jun 21, 2011.
Tue Jun 21 2011, 03:02 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, 03:05 PM ]
Tue Jun 21 2011, 06:28 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 Tue Jun 21 2011, 06:31 PM ]
Tue Jun 21 2011, 11:13 PM
#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

Conversation

ajay_bhargav
Mon Mar 23 2015, 04:22 AM
You can only simulate simple 8051. RD2 support is not there in proteus. However there are similar atmel varient which can be used instead.
Sun Mar 22 2015, 07:24 PM
Aryan Nath
How can i Simulate microcontroller project in Proteus that uses P89V51RD2
Thu Mar 19 2015, 02:45 PM
Peter Mann
I have tried to register on the site, but it keeps saying I've entered two different email adresses - but I haven't!
ajay_bhargav
Sun Mar 15 2015, 08:25 PM
I did not get new message indication.. strange..
ExperimenterUK
Sun Mar 15 2015, 08:18 PM
slight delay, my connection failed
ajay_bhargav
Sun Mar 15 2015, 08:08 PM
Atleast you chat on our website if not anywhere else
ajay_bhargav
Sun Mar 15 2015, 08:08 PM
Hi Phil..
ExperimenterUK
Sun Mar 15 2015, 08:05 PM
Hi Ajay
gsdvprasad
Fri Mar 13 2015, 04:20 PM
Can you help me how to change the text on led display in proteus simulation?
ajay_bhargav
Sat Mar 07 2015, 07:48 AM
@Shoukat, its general purpose PCB board for soldering components

Downloads

Comments

iamalien
Thu Mar 26 2015, 07:27 AM
Ankit30
Wed Mar 25 2015, 02:35 PM
wai1023
Wed Mar 25 2015, 06:27 AM
StrangerDanger
Tue Mar 24 2015, 12:40 PM
vinayas9
Tue Mar 24 2015, 09:26 AM
ganesh1991
Tue Mar 24 2015, 08:22 AM
Mirsa
Mon Mar 23 2015, 10:07 AM
srinivasboppidi
Thu Mar 19 2015, 06:33 AM

Online

Guests: 33, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 37609
Newest member: iamalien
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Mar 26 2015, 09:06 PM
Have a look through the list of projects in our do...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Mar 26 2015, 09:03 PM
As you say, each column is only on for part of the...
iamalien Avatar
Posted By iamalien
Thu Mar 26 2015, 07:43 AM
Hello guys, i am doing a project on display using ...
Ankit30 Avatar
Posted By Ankit30
Wed Mar 25 2015, 02:41 PM
Hey I have to make a project on Digital calendar u...
diana1234 Avatar
Posted By diana1234
Wed Mar 25 2015, 05:34 AM
Thank you sir I make a try with the transducer and...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Mar 24 2015, 05:32 PM
There would be no any biasing circuit?only a shunt...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Mar 24 2015, 04:55 PM
Your suggestion worked Mr. ExperimenterUK. I tried...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Mar 24 2015, 04:33 PM
Pin 3.3 is not supposed to latch low.If it is not ...
StrangerDanger Avatar
Posted By StrangerDanger
Tue Mar 24 2015, 12:54 PM
Hello all. I am working with a dual AT89S2051 set...
vinayas9 Avatar
Posted By vinayas9
Tue Mar 24 2015, 09:35 AM
Hello Everyone.i am Facing same issue as that of k...