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

RB4 to RB7 as an interrupt

 
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

RB4 to RB7 as an interrupt
PostPosted: Thu Nov 11, 2010 4:03 am     Reply with quote

Hi,
I am using pic18f252.
I wanna ask that can we use portb pins form RB4 to RB7.
Geps



Joined: 05 Jul 2010
Posts: 129

View user's profile Send private message

PostPosted: Thu Nov 11, 2010 4:05 am     Reply with quote

Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/39564c.pdf

Look at page 85.
hayee



Joined: 05 Sep 2007
Posts: 252

View user's profile Send private message

PostPosted: Thu Nov 11, 2010 4:11 am     Reply with quote

thanks for quick reply.
How to define that in programming.
give me a sample code
Geps



Joined: 05 Jul 2010
Posts: 129

View user's profile Send private message

PostPosted: Thu Nov 11, 2010 4:13 am     Reply with quote

hayee wrote:
give me a sample code please


If you search this forum for "change on B interrupt" and make sure to select the search option "Search for all terms" you'll find plenty of sample code that has been posted before.
hayee



Joined: 05 Sep 2007
Posts: 252

View user's profile Send private message

PostPosted: Thu Nov 11, 2010 4:22 am     Reply with quote

give me some links,its difficult to find exact thing using searching,
Geps



Joined: 05 Jul 2010
Posts: 129

View user's profile Send private message

PostPosted: Thu Nov 11, 2010 4:25 am     Reply with quote

Here's one I used a while ago:

http://www.ccsinfo.com/forum/viewtopic.php?t=15126&postdays=0&postorder=asc&start=0
hayee



Joined: 05 Sep 2007
Posts: 252

View user's profile Send private message

PostPosted: Thu Nov 11, 2010 4:31 am     Reply with quote

ok. Thanks.
Let me try.
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