Skip to content

Commit

Permalink
Update TimerBlink/src/timerblink.c
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiocampama committed May 4, 2012
1 parent f3135cb commit cdd1859
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TimerBlink/src/timerblink.c
Expand Up @@ -78,6 +78,9 @@ int main()
}

//CCR0 timer interrupt, which toggles the LEDs
#ifndef TIMERA0_VECTOR
#define TIMERA0_VECTOR TIMER0_A0_VECTOR
#endif
interrupt(TIMERA0_VECTOR) TIMERA0_ISR() {
LED_OUT ^= LED_GREEN + LED_RED;
}

0 comments on commit cdd1859

Please sign in to comment.