Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Changed to TACTL = TASSEL_1 | MC_1 #1

Open
wants to merge 1 commit into from

1 participant

@clayrichardson

Changed:
TACTL = TASSEL__ACLK | MC__UP;
to:
TACTL = TASSEL_1 | MC_1;

Per notmyidea's suggestion here: http://hackaday.com/2010/08/11/how-to-launchpad-programming-with-linux/#comment-213317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 15, 2012
  1. @clayrichardson
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  main.c
View
2  main.c
@@ -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
Something went wrong with that request. Please try again.