lcd problem

Thread Starter

kppp

Joined Apr 23, 2008
14
hello everyone,
my lcd is 16x2.
matrix is 5x8
i am using ddram only to display
my initialisation code is:
0x30,0x30,0x30,0x38,0x08,0x0c,0x01,0x06
this is according to the manual i refered
and then i display some characters on the lcd
but some times, dots in the matrix are not displayed properly
eg: if 2 is to be displayed then some times it will be proper but some times some pixels are missing
so i changed my hardware as well as lcd but the problem remains same
can you suggest settings for 5x8 pixel because in the manual 0x38 is mentioned for 5x7 and 0x3c for 5x10 matrix
pls help me out. any other information if required then pls let me know
thank you all
take care
 

hgmjr

Joined Jan 28, 2005
9,027
Can you provide us with a schematic of your circuit and the source code you are using to initialize and write to the LCD?

hgmjr
 

silvrstring

Joined Mar 27, 2008
159
It sounds like you need to add a delay somewhere in your code. You should post what you have. You probably need a delay() for your enable signal, or a delay() after writing data so it has time to latch.
 
Top