Go Down

Topic: note needed in the Reference tutorial for attachInterrupt() (Read 1 time) previous topic - next topic


Apr 24, 2011, 04:54 am Last Edit: Apr 24, 2011, 04:57 am by Loudhvx Reason: 1
I was getting very strange behavior on a project using external interrupts, so I investigated it further and ended up posting this thread:

I think a note in the Reference section about attachInterrupts() would be helpful for users. It would make the interrupts behave as expected rather than have an interrupt occur based on something that happened before the interrupt was attached.

Near the end of that thread there is a solution given to eliminate the unexpected behavior. For now, I think a short note with the small patch code would suffice.

Others suggested that the attachInterrupt routine itself should be altered to include the fix. This seems like a good idea in the long run.

Go Up