Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Interrupt INTERFACING in PIC16f877A

Status
Not open for further replies.

bijaypaudel

Member level 1
Joined
Dec 14, 2011
Messages
32
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Activity points
1,489
I NEED TO TAKE INTERRUPT FROM THREE SOURCES TO pic...
>TO COUNT NO. OF CLOCK PULSES
>cOUNT NO. OF BUTTONS PUSHED
>START COUNT WHEN A BUTTON IS PUSHE AND UNTIL RELEASED

SO, NEED TO COMBINE THESE THREE THING IN A INTERRUPT PIN ...PLZ HELP


THANKS IN advance............
 

Use the PORTB interrupt-on-change for counting number of buttons pushed and to start counting when a button is pushed and until released. For counting number of clock pulses, use the RB0/INT pin.

In the interrupt vector, check which interrupt occurred.

Hope this helps.
Tahmid.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top