CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

OPTREX LCD DISPLAY

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
a.fava



Joined: 25 Jun 2004
Posts: 17
Location: Cremona (Italy)

View user's profile Send private message Send e-mail

OPTREX LCD DISPLAY
PostPosted: Sun May 14, 2006 8:37 am     Reply with quote

Good Morning

I'd need a driver for a LCD Display OPTREX DMC40457, 40 characters and 4 lines.

Anyone can help me ?

Thanks in advance.
_________________
Alessandro
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Sun May 14, 2006 9:36 am     Reply with quote

Check your drivers directory for LCD420.C
a.fava



Joined: 25 Jun 2004
Posts: 17
Location: Cremona (Italy)

View user's profile Send private message Send e-mail

PostPosted: Sun May 14, 2006 1:44 pm     Reply with quote

Hi Mark

thank you for your reply, but the driver LCD420.c is not working.
The Optrex display got 2 enable pins.
On forlines 1 and 2 and one for lines 3 and 4.
If i'use enable1 i can display data on lines 1 and 2, if i'use enable2 i display then on lines 3 and 4.
Together i can see the same data on lines 1 and 2 , and 3 and 4.
The RAM address on the display should be the same for line 1 and 2 and for line 3 and 4.
Only enable signal is different.
_________________
Alessandro
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Sun May 14, 2006 3:58 pm     Reply with quote

Treat it as though it were 2 displays. Use E1 when you write to the top two lines and E2 when you write to lines 3 & 4. You could have separate routines for this. You could also just pass a parameter or set a global flag. Then when you need to use the enable pin, look at the flag to decide which one to use.
a.fava



Joined: 25 Jun 2004
Posts: 17
Location: Cremona (Italy)

View user's profile Send private message Send e-mail

PostPosted: Mon May 15, 2006 12:14 pm     Reply with quote

Thanks for reply, Mark
i'll follow your advice.
_________________
Alessandro
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group