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

ExperimenterUK
Wed Apr 15 2015, 05:07 PM
@Bibek.. and everyone. Create threads if you need help. The chat box is just for chat
ExperimenterUK
Wed Apr 15 2015, 05:06 PM
@mohd atif ..login..create a post/thread,then I can post a copy of the missing file
Mon Apr 13 2015, 07:03 PM
mohd atif
@experimenteruk I didn't get you
Sun Apr 12 2015, 04:18 AM
Bibek
hello, i have made a digital clock using rtc DS12887 and AT89S52 with date n callender. Now i want to add alarm features to it.....can any body help me with the code in assembly language
Sun Apr 12 2015, 03:22 AM
SANJU123
Hello, I am planning to do simulaton of the ' 4-way traffic controller'. As a first stage of the project, I tried to compile the code given in this website in keil microvision which controls 4-way traffic . I am using AT89C51. But when I am trying to compile the code it shows an error " Device is not supported by Toolchain". Can u please help me...
Sat Apr 11 2015, 02:06 AM
Suryamoy Mondal
There is a little bit confusion to connect the rs232 connector to max232 ..By continuty test i cant able to find , which wire from the other side of the RS232 connector , i connect to max232..is there any colour coding?
ajay_bhargav
Fri Apr 10 2015, 06:19 PM
@Suryamoy, The PC control software is provided within the package. Follow the steps to install and test it.
Fri Apr 10 2015, 05:24 PM
Suryamoy Mondal
my final year btech project is pc remote control..i have made the hardware and microcontroller prograaming from yours project..bt i cant able to implement in PC..so wht kind of software need for pc to access this..please sir reply me ..i need your help
ExperimenterUK
Wed Apr 08 2015, 04:46 PM
@mohd atif If you create a thread, I may be able help
Tue Apr 07 2015, 03:59 PM
mohd atif
i am working on a project evm. i download the evm project from this site named Electronic Voting machine with Managed Control Unit . i face problem in this when i am trying to simulate this on proteus . there is an error " could not open MODDATA initializer file mem.bin" please help me to get out this problem

Downloads

Comments

samarhbk
Sat Apr 18 2015, 12:57 PM
chitty789
Tue Apr 14 2015, 06:14 PM
yaseenshaikh
Tue Apr 14 2015, 03:41 PM
sanju123
Mon Apr 13 2015, 03:51 PM
mohanadelnokaly
Wed Apr 08 2015, 07:02 PM
auchil
Mon Apr 06 2015, 07:07 AM
adityavyas75
Mon Apr 06 2015, 05:03 AM
rajendraprasadlawate
Sun Apr 05 2015, 08:20 PM

Online

Guests: 40, Members: 0 ...

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

Members: 37623
Newest member: samarhbk
Forum Activity
gaurav7577 Avatar
Posted By gaurav7577
Fri Apr 17 2015, 03:26 PM
thanks ajay for ur concern .....passed out B.E.......
ajay_bhargav Avatar
Posted By ajay_bhargav
Fri Apr 17 2015, 12:49 PM
can you post screenshot or a picture of CRO output...
ajay_bhargav Avatar
Posted By ajay_bhargav
Fri Apr 17 2015, 12:45 PM
are you in a college or working?
ajay_bhargav Avatar
Posted By ajay_bhargav
Fri Apr 17 2015, 12:44 PM
GSM modem needs a power supply with minimum 2A pea...
ajay_bhargav Avatar
Posted By ajay_bhargav
Fri Apr 17 2015, 12:41 PM
check it on CRO with 10x probes, you will see a si...
mayank058 Avatar
Posted By mayank058
Fri Apr 17 2015, 11:03 AM
The output was low in the scope and I am using MCB...
gaurav7577 Avatar
Posted By gaurav7577
Fri Apr 17 2015, 10:13 AM
Hello friends, i wanna do embedded course ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Apr 17 2015, 05:30 AM
In simulation everything went good but I am not a...
mayank058 Avatar
Posted By mayank058
Fri Apr 17 2015, 04:49 AM
dear sir, Actually DAC output pin is 0.26..so I think bit 21 must be set to get output on PIN 0.26. In simulation everything went good but I am not able to get output on CRO by using the board.
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Apr 16 2015, 07:36 PM
I am using my internship kit, it uses AT89C52.sati...