I am trying to add my own handler for INT0 using the following code -
ISR(INT0_vect)
{
...
}
The compiler is complaining about the redefinition (yes I know its already defined in wiring), but I am sure I have managed this in the past and have recently seen a forum topic on the same.
Am I missing something, does anyone remember the previous topic ?
Hi,
I am not calling attachInterrupt or detachInterrupt, I was planning to implement the ISR directly and avoid that one step of indirection that comes from using attachInterrupt.
It must be something hiding somewhere in my sketch, I pasted your sample into a blank sketch and it compiles.