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 B

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



Joined: 13 Oct 2003
Posts: 32

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

Port B
PostPosted: Sun Oct 16, 2011 10:13 am     Reply with quote

I currently have my LCD display connected to port b, as per the example provided. There is one pin which is not connected, but can be used as an external interrupt.

Can I use port b for the display and for the external interrupt?
temtronic



Joined: 01 Jul 2010
Posts: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Oct 16, 2011 11:56 am     Reply with quote

hmm....you don't say which PIC you're using, or the connections to the LCD..(byte mode, nibble mode ?)
but...
If you're using a 16F877, you can use RB0/INT for the external interrupt.
Same holds true for the 18F4550 BUT you'll have to look at the datasheet for whatever PIC you're using to confirm.
delene



Joined: 13 Oct 2003
Posts: 32

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

PostPosted: Sun Oct 16, 2011 11:45 pm     Reply with quote

Am using the pic18f452.
Have my pic connected up as per the examples. I will just move them all up a pin and try it out - hopefully I come right.

Thanks
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