Redefine ISR for INT0 - Help

Hi,

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 ?

Duane B

rcarduino.blogspot.com

void setup( void )
{
}

void loop( void )
{
}

ISR(INT0_vect)
{
}

...compiles for the Uno under Arduino 1.0.1.

Are you calling attachInterrupt or detachInterrupt?

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.

Thanks

Duane B

rcarduino.blogspot.com