Open abhaysjuneja opened 8 years ago
Sorry this has taken me so long to reply, I missed it.
Yes it is possible. It is true that the pin change interrupts are defined in groups, but the library uses software to determine which ISR to call. Use it to add a separate ISR to each pin that you want, it will handle it.
On Sat, May 21, 2016 at 3:26 PM, abhaysjuneja notifications@github.com wrote:
I am currently working on a project which requires 8 Interrupt Attachments and obviously each with an exclusive ISR (Interrupt Service Routine). I was wondering if it is possible using this library? I read somewhere that pins are defined, to be used as interrupt pins, in groups. And each group can function on a single ISR only.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/GreyGnome/PinChangeInt/issues/3
-Mike Schwager
BTW, use the EnableInterrupt library. The PinChangeInt library is deprecated.
On Wed, Jun 1, 2016 at 10:25 AM, Michael Schwager mschwage@gmail.com wrote:
Sorry this has taken me so long to reply, I missed it.
Yes it is possible. It is true that the pin change interrupts are defined in groups, but the library uses software to determine which ISR to call. Use it to add a separate ISR to each pin that you want, it will handle it.
On Sat, May 21, 2016 at 3:26 PM, abhaysjuneja notifications@github.com wrote:
I am currently working on a project which requires 8 Interrupt Attachments and obviously each with an exclusive ISR (Interrupt Service Routine). I was wondering if it is possible using this library? I read somewhere that pins are defined, to be used as interrupt pins, in groups. And each group can function on a single ISR only.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/GreyGnome/PinChangeInt/issues/3
-Mike Schwager
-Mike Schwager
Okay thanks..It's Working.!.. :+1: and yeah.. i'll try the EnableInterrupt library too. :+1:
I am currently working on a project which requires 8 Interrupt Attachments and obviously each with an exclusive ISR (Interrupt Service Routine). I was wondering if it is possible using this library? I read somewhere that pins are defined, to be used as interrupt pins, in groups. And each group can function on a single ISR only.