Board index › Products › Audio Codec Shield

Newbie questions

2 posts · 4708 views

Newbie questions

by Vedeja » Mon Jan 07, 2013 12:34 UTC
I am still waiting for my shield to arrive so I can hook to my Maple and start playing. I the meantime, I study code. What is the difference between using the two below, for processing?

void AudioCodec_interrupt() {
}


ISR(TIMER1_COMPA_vect) {
}

Re: Newbie questions

by guest » Mon Jan 07, 2013 19:30 UTC
they both do the same thing, but one works with maple, and other other with arduino. the processing occurs in the interrupt for the codecshield, and each platform has a different interrupt that does this. so they are just called something different so the processor knows what to do.