16F877A PortB interrupt

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Vazh93
Posts: 1
Joined: Sun Jan 20, 2019 11:32 am
Has thanked: 1 time
Contact:

16F877A PortB interrupt

Post by Vazh93 »

Is the interrupt enabled only on Bits 4-7 of PortB of a PIC16F877A chip? Or is it just a problem with the simulator and it should work fine when I download the program on to the chip? Thanks!

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 16F877A PortB interrupt

Post by medelec35 »

Hi.
Vazh93 wrote:Is the interrupt enabled only on Bits 4-7 of PortB of a PIC16F877A chip?
That is correct.
On 16F877A, Only Pins B4 to B7 have port B interrupt on change.
Martin

Post Reply