> Hi all. Is it permissable to change an interrupt edge select bit in the > ISR? For instance, I want to detect when INT1 goes high. Then, I will > also want to detect when it goes low. Seems if I change the edge select > bit in the ISR I can get an interrupt on the way up, and then one on the > way down as well. FWIW I'm using an 18f252. Any thoughts? Sounds OK, as long as you know the edges come slowly enough. If you needed faster, you could tie two INT pins together and have each interrupt on the opposite edge. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads