Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

interrupts using pic16f877

Status
Not open for further replies.

pinky

New Member
my project requires one external interrupt .
how can i give to pic 16f877 and how can i identify that interrupt is occurs or not

thanks
 

Nigel Goodwin

Super Moderator
Most Helpful Member
pinky said:
my project requires one external interrupt .
how can i give to pic 16f877 and how can i identify that interrupt is occurs or not

You could use one of the PortB pins for your external input, then use "Interrupt on change on PortB" - if you check the MicroChip application notes there's a fair few dealing with this. It will interrupt on any change, either positive or negative going, you can easily detect which you want in the interrupt routine - it's all explained quite well in the application notes.
 
Status
Not open for further replies.

Latest threads

Top