Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Arduino 

inputs with interupt

hi

i'm looking for IC or device so i can upgrade the arduino interupts.
the arduino uno has 2 interupt pins ,but I want 10 inputs via interupt.

I cant really use the other arduino pins , because the other interupts are " interupt on change" :(

regards...
What do you want to use the interrupts for ? From what I just read, the interrupt on change gets triggered whenever one of the 20 (?) pins changes, so maybe you can store the state of the pins in your code, and when the interrupt gets triggered, compare the current state with the old state to see which interrupt changed and then act accordingly.
Thats a possibility
But a pulse wil get you 2 interupt changes in a short time
So the routine to poll the differance you have to twice and with extra if then elses to trim out the unwanted edge


Possibly Related Threads...
Thread / Author Replies Views Last Post
by mifosFeb 14, 2015 03:36 PM 1 204 Feb 14, 2015 03:36 PM
Last Post: webdev77