[SOLVED] How to enable the IOCB bit in PIC 18f46k22 .

Status
Not open for further replies.

deeplearns

Member level 4
Joined
May 19, 2011
Messages
75
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,939
Hi i am trying to enable IOCB feature in PIC ... i am trying to use interrupt on change on RB 4-5 port .

I have enable the weak pullup feature and that seams to be fine , but the IOCB ports which i am enabling do not seem to change the value .I am using proteus VSM to check the values ..But the IOCB shows 0 .
 

Hey guys finally i was able to solve the problem all seems to work fine.
Thanks .
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…