Please,
in interrupt handler how do you understand which pin of PORTB (RB7:RB4)changed its state and caused the interrupt ?
Int_Handler:
If INTCON.0=1 then
' here i must understand which one..
INTCON.0=0
resume.....
Thanks
Please,
in interrupt handler how do you understand which pin of PORTB (RB7:RB4)changed its state and caused the interrupt ?
Int_Handler:
If INTCON.0=1 then
' here i must understand which one..
INTCON.0=0
resume.....
Thanks
Bookmarks