Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum simultaneous Interrupts attachments? #3

Open
abhaysjuneja opened this issue May 21, 2016 · 3 comments
Open

Maximum simultaneous Interrupts attachments? #3

abhaysjuneja opened this issue May 21, 2016 · 3 comments

Comments

@abhaysjuneja
Copy link

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.

@GreyGnome
Copy link
Owner

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 [email protected]
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
#3

-Mike Schwager

@GreyGnome
Copy link
Owner

BTW, use the EnableInterrupt library. The PinChangeInt library is
deprecated.

On Wed, Jun 1, 2016 at 10:25 AM, Michael Schwager [email protected]
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 [email protected]
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
#3

-Mike Schwager

-Mike Schwager

@abhaysjuneja
Copy link
Author

Okay thanks..It's Working.!.. 👍 and yeah.. i'll try the EnableInterrupt library too. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants