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

Tue Nov 29 2016, 02:49 PM
jaykumar
Dear sir, elevator microprocessor control , the vendor locked the control, pls help me how can we decode the password
Sat Nov 26 2016, 10:24 AM
manikanta B
hello i know about gsm,gps and zigbee but i dont know how to use them while programming. can anyone suggest me how to use them
ExperimenterUK
Sat Nov 19 2016, 07:09 PM
@Protaz.. Really you would be better off asking on one of the many Arduino user sites
Fri Nov 18 2016, 05:39 AM
Protaz
Hi, am new in programing, but I have few skills in electronic. I want to make an automatic timing system for institutions using arduino uno. Any one to assist me how to program the microcontoller?
Tue Nov 15 2016, 04:45 AM
Hemangi patel
hello, i am working on atmega128 board and i want to interface with sd card with using fat32 file system. i am totaly new in this field .so pls anyone can u suggest me some imp links.thanks
Thu Nov 10 2016, 01:40 PM
ajith raj
hi frds i make voice control robot using blutooth module
Wed Oct 26 2016, 08:23 AM
ishalt
is it possible to completly get the robot running from java code
Sun Oct 23 2016, 05:50 PM
mamata thakur
plz send full mini project report for ic 741&ic 555 tester
Wed Oct 19 2016, 03:30 PM
riddhi1296
can you provide an explanation for the inverter 8051 code and how it works
ExperimenterUK
Sat Oct 15 2016, 12:15 AM
@snaya. Create a thread in the 8051 forum for your questions

Downloads

Comments

Jonathan.kei
Mon Nov 21 2016, 04:30 PM
AVRuser1
Sun Nov 20 2016, 06:07 PM
JaguarPaw
Thu Nov 17 2016, 07:44 PM
PeterJohn
Mon Nov 14 2016, 05:54 PM
evigna
Wed Nov 02 2016, 02:03 PM
ozancakiroglu
Thu Oct 27 2016, 01:54 PM
[email protected]
Fri Oct 21 2016, 10:35 PM
Beliwars
Sat Oct 15 2016, 09:40 AM

Online

Guests: 51, Members: 0 ...

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

Members: 37792
Newest member: Jonathan.kei
Forum Activity
Centurio Avatar
Posted By Centurio
Mon Nov 28 2016, 08:46 AM
Hi there,long time ago... i've a short question to...
kirangowle Avatar
Posted By kirangowle
Wed Nov 16 2016, 03:56 PM
Hello Forum members,After a long time i am back to...
Pratik_Suthar Avatar
Posted By Pratik_Suthar
Thu Oct 13 2016, 12:39 PM
@martin the HEX file provided in the project is no...
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu Oct 06 2016, 06:15 AM
Hi Phil, Do you want to add this to existing proje...
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu Oct 06 2016, 06:13 AM
CE should be high when you go for reading mode/wai...
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu Oct 06 2016, 06:03 AM
You can also use ESP8266 with its SDK to write app...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Oct 03 2016, 11:15 PM
This is an old thread and the links no longer work...
martinsnc115877 Avatar
Posted By martinsnc115877
Wed Sep 14 2016, 12:51 PM
sir, i did your led scrolling mass display, and it...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Sep 09 2016, 11:45 PM
The Hex file for this project is a bit too big for...