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

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

16F877A PortB interrupt

Postby Vazh93 » Sun Jan 20, 2019 1:18 pm

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!

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8334
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2382 times
Been thanked: 3393 times
Contact:

Re: 16F877A PortB interrupt

Postby medelec35 » Sun Jan 20, 2019 1:46 pm

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.
These users thanked the author medelec35 for the post:
Vazh93 (Sun Jan 20, 2019 2:21 pm)
Rating: 5.56%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.