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 CCS Technical Support

port selection for LCD

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



Joined: 05 Sep 2007
Posts: 252

View user's profile Send private message

port selection for LCD
PostPosted: Sat Sep 05, 2009 3:08 am     Reply with quote

Hi,
Can I use any of the port for LCD connections or there is any restriction (in most cases I have seen that port D is using for LCD)?
I am using pic16f877A and I want to use 4-bit interfacing.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Sep 05, 2009 2:18 pm     Reply with quote

Read the instructions for the Flex LCD driver. It lists the restrictions on
the i/o pins.

http://www.ccsinfo.com/forum/viewtopic.php?t=24661
hayee



Joined: 05 Sep 2007
Posts: 252

View user's profile Send private message

PostPosted: Wed Sep 09, 2009 11:12 pm     Reply with quote

What about if I change port bits which are using for LCD from "port D" to "port B". Will it work?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Sep 09, 2009 11:17 pm     Reply with quote

Don't use pins B6 and B7, because they are normally used by the ICD
debugger.
hayee



Joined: 05 Sep 2007
Posts: 252

View user's profile Send private message

PostPosted: Sat Sep 12, 2009 4:54 am     Reply with quote

Hi,
I have purchased 20*2 LCD from a NewHaven Display.The number of lcd is (NDH-0220DZ-NSW-BBW). I want to know that can I use any of the lcd driver or not?
Is your flex lcd driver work with this?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Sep 12, 2009 11:22 am     Reply with quote

Yes, it's a normal LCD module.

Make sure you put 0.5 volts on the "Vo" pin, to set the contrast voltage.
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