Skip to content

Commit

Permalink
changed to TACTL = TASSEL_1 | MC_1
Browse files Browse the repository at this point in the history
  • Loading branch information
clayrichardson committed Mar 15, 2012
1 parent 30c9b4c commit 4b28e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ int main(void) {

BCSCTL3 |= LFXT1S_2; //Set ACLK to use internal VLO (12 kHz clock)

TACTL = TASSEL__ACLK | MC__UP; //Set TimerA to use auxiliary clock in UP mode
TACTL = TASSEL_1 | MC_1; //Set TimerA to use auxiliary clock in UP mode
TACCTL0 = CCIE; //Enable the interrupt for TACCR0 match
TACCR0 = 11999; /*Set TACCR0 which also starts the timer. At
12 kHz, counting to 12000 should output
Expand Down

0 comments on commit 4b28e8f

Please sign in to comment.