Newbie questions

Newbie questions

Postby Vedeja » Mon Jan 07, 2013 5:34 am

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?

Code: Select all
void AudioCodec_interrupt() {
}


Code: Select all
ISR(TIMER1_COMPA_vect) {
}
Vedeja
 
Posts: 5
Joined: Mon Jan 07, 2013 5:21 am

Re: Newbie questions

Postby guest » Mon Jan 07, 2013 12:30 pm

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.
guest
Site Admin
 
Posts: 449
Joined: Thu May 20, 2010 11:58 pm


Return to Audio Codec Shield

Who is online

Users browsing this forum: No registered users and 1 guest


cron