Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/27/00 11:30
Read: times


 
#1966 - RE: LCD in 4bit mode problem
Hi
I have recently done this kind of project with Steve's help.

Unfortunately, I am not very much familiar with 'C' coding. I have initialized the LCD with #30h 3 times before I send any data to LCD. I given 4ms wait after each #30h command.

Try this way

Mov LCDPORT,#30h
ACALL WAIT4MS
Mov LCDPORT,#30h
ACALL WAIT4MS
Mov LCDPORT,#30h
ACALL WAIT4MS

and then send any data. It should work.

I have changed two other areas,

1- I did not used RW at all. I permenantly made it LOW. Since I do not want to read anything back.

2- As far as BUSY flag is concerned, I do not check this flag at all, but I made a permenent 75us wait after each cahracter sent to LCD.

This way it made my life easier, and I think for simple usage of LCD, it work well.

Goodluck

Rauf / Microlink

List of 8 messages in thread
TopicAuthorDate
LCD in 4bit mode problem            01/01/70 00:00      
RE: LCD in 4bit mode problem            01/01/70 00:00      
RE: LCD in 4bit mode problem            01/01/70 00:00      
RE: LCD in 4bit mode problem            01/01/70 00:00      
RE: LCD in 4bit mode problem            01/01/70 00:00      
RE: LCD in 4bit mode problem            01/01/70 00:00      
RE: LCD in 4bit mode problem            01/01/70 00:00      
RE: LCD in 4bit mode problem            01/01/70 00:00      

Back to Subject List