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
Tue Jul 19 2016, 05:59 PM
@mhammad 64 bits is 8 bytes.
Tue Jul 19 2016, 07:56 AM
mhammad kassem
hello! i want to know how to use UART in mikroc , I want to receive 64 bits from another microcontroller and i dont know how to start my code to receive the 64 bits...any help?
ExperimenterUK
Mon Jul 18 2016, 08:32 PM
@meena.. are you still having trouble ?
Sat Jul 16 2016, 10:19 AM
Meena
problem in loading email address while registering.Please help
Sun Jul 10 2016, 02:50 PM
shockwave
could you please provide a sample code that controling LED using bluetooth HC-05 interfacing pic16f877a thank you!
Sun Jul 10 2016, 02:49 PM
shockwave
Help!
ExperimenterUK
Sat Jul 09 2016, 05:25 PM
@Santhana krishnan post in forum to discuss your problem
Thu Jul 07 2016, 09:26 AM
Santhana krishnan
Hi i program atmega 32 it was functiining corectly but now aref pins voltage 2.56 is droped to .85 volts also a ports input viltage also dropped so anologe inpit not funcitonig please help me to find out the problem
Thu Jul 07 2016, 09:24 AM
Santhana krishnan
Hi i program the atmega 32
Thu Jul 07 2016, 09:24 AM
Santhana krishnan
Hi

Downloads

Comments

dann11
Thu Jul 28 2016, 09:43 PM
adithyapaip
Thu Jul 21 2016, 05:45 PM
celu
Thu Jul 21 2016, 05:27 PM
Aiko
Wed Jul 20 2016, 01:51 PM
JorgeG
Sat Jul 16 2016, 07:19 PM
Piotrekk
Wed Jul 06 2016, 09:35 AM
dyoussef
Wed Jun 29 2016, 07:29 PM
sung7333
Tue Jun 28 2016, 06:23 AM

Online

Guests: 48, Members: 0 ...

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

Members: 37776
Newest member: dann11
Forum Activity
ugoo5000 Avatar
Posted By ugoo5000
Sat Jul 30 2016, 07:31 AM
is working noworg 00hmov p1,#11111111bmov p3,#1111...
ugoo5000 Avatar
Posted By ugoo5000
Sat Jul 30 2016, 06:40 AM
when i press a button in p3.0,the counter will st...
ugoo5000 Avatar
Posted By ugoo5000
Sat Jul 30 2016, 06:30 AM
proteus file Attachment ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jul 29 2016, 11:34 PM
Your code does not count at all, it produces a one...
ugoo5000 Avatar
Posted By ugoo5000
Fri Jul 29 2016, 07:49 PM
i want the the counter to be counting in secs with...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jul 29 2016, 07:31 PM
HiYour Proteus file did not upload, be sure to zip...
ugoo5000 Avatar
Posted By ugoo5000
Fri Jul 29 2016, 11:50 AM
below is the proteus file
ugoo5000 Avatar
Posted By ugoo5000
Fri Jul 29 2016, 11:48 AM
i am working on a project to generate a continuous...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Jul 23 2016, 07:14 PM
I found this datasheet, it is a type of driver.It ...
Piotrekk Avatar
Posted By Piotrekk
Fri Jul 22 2016, 10:12 AM
I found an old box of electronic components in the...