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

4x40 LCD?

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



Joined: 18 Jul 2007
Posts: 427
Location: Montreal,Quebec

View user's profile Send private message

4x40 LCD?
PostPosted: Mon Jul 14, 2014 2:11 am     Reply with quote

Hi,

I have a few 4x40 LCD displays.

I know they are different than their little brothers (2x16, 2x20, 4x20).

They require a second enable pin because being 2 LCD driver inside on the same board.

Do anyone have successfully make them work with a PIC?

The only real post I've seen on this forum for a 4x40 LCD is a code library tested only in Proteus.

Thank you very much!
_________________
Regards,
Laurent

-----------
Here's my first visual theme for the CCS C Compiler. Enjoy!
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Mon Jul 14, 2014 2:27 am     Reply with quote

They literally are 2* 40x2.

Have a look at this thread:

<http://www.ccsinfo.com/forum/viewtopic.php?t=52606>

The code mods done here, I originally did to drive a 40x2....

The only extra bits you have to add if you want to be really tidy, are to encapsulate the switching, so that (for instance) if you do a goto, it automatically switches to the second display for the high two lines, and when you line feed at the bottom of the first display it again automatically switches.

Best Wishes
ertansuluagac



Joined: 13 Jul 2017
Posts: 135
Location: IZMIR

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

[SOLVED] 4x40
PostPosted: Thu Dec 05, 2019 12:36 am     Reply with quote

Hello everyone
I did an application with 4x40 character lcd working just fine. It will require some modification for it to work on a 4x40 character LCD. It looks like the main difference is that the 4x40 has two enable pins one for the controller used to display characters on the top two lines, and one for the controller used to display character on the bottom two lines.

https://onedrive.live.com/?cid=37A815E27F350BC9&id=37A815E27F350BC9%2131139&parId=root&o=OneUp[/url]
_________________
Es
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