Hi all,
I need your help in this subject , how to read 6 inputs as interrupt any time for PIC16F877A , beacuse our system entering in multiple sub routines so using polling way in main code not visible when our programm entering in another subroutine , so I can't know the change in these inputs.

How I can solve this problem ?