I would like to utilize a portb on change interrupt.
The CCS manual says: "#INT_RB Port B any change on B4-B7".
Does this apply also to the 18F4620? It would seem logical that the interrupt should detect any pin on port b. B4-B7 limits the amount of inputs I want to detect using the ISR.
If this is indeed the case, can B6 and B7 be used as inputs when they are also used for ICSP (PGC & PGD)? Is it okay to attach buttons to these pins and use the ISR to detect off of them?
I am using the internal portb pullups and a simple spst push button to pull the inputs low when the spst's are pressed.
Thanks, _________________ JT
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sat Jun 26, 2010 11:46 pm
Quote:
The CCS manual says: "#INT_RB Port B any change on B4-B7".
Does this apply also to the 18F4620?
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