- Tue Aug 02, 2022 1:28 pm
#235033
Hello
AVR librerires provide the macro ISR to handle interruptions. For instance ;
ISR(TIMER1_COMPA_vect) // attach the TIMER1_COMPA_vect of timer interrupt.
{
// do something
}
However, when I use ISR() in a program for the Artemis Dev kit it does not compile. It is not supported.
What is the equivalent or similar macro for the Artemis Dev kit ?
Thanks a lot
Leonardo
AVR librerires provide the macro ISR to handle interruptions. For instance ;
ISR(TIMER1_COMPA_vect) // attach the TIMER1_COMPA_vect of timer interrupt.
{
// do something
}
However, when I use ISR() in a program for the Artemis Dev kit it does not compile. It is not supported.
What is the equivalent or similar macro for the Artemis Dev kit ?
Thanks a lot
Leonardo