> Keep a software copy of the state of the 4 bits as last serviced Thanks for the reply. Could you explain in a little more detail exactly what you mean here? Thanks again. Dan > > I'd like to have four inputs on RB4 through RB7 used as Interrupt on > > Change to trigger an input. Two of those inputs will be pushbutton > > inputs and two will be > > pulse monitoring inputs. My question is that once I do get an > > interrupt due to a change of level on any one of those > pins, how do I > > set it up so I can know exactly which input triggered the > interrupt?? > > Keep a software copy of the state of the 4 bits as last serviced. > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads