This commit is contained in:
wn 2014-06-05 18:57:09 +02:00
parent 6ac5c7eadc
commit 9253d5809c

View File

@ -42,9 +42,9 @@ int main() {
P1DIR |= BIT6 | BIT0; P1DIR |= BIT6 | BIT0;
P1OUT = 0; P1OUT = 0;
TACCR0 = 49999; TACCR0 = 1000;
TACCTL0 = CCIE; TACCTL0 = CCIE;
TACTL = MC_1 | ID_3 | TASSEL_2 | TACLR; TACTL = MC_1 | ID_0 | TASSEL_1 | TACLR;
__enable_interrupt(); __enable_interrupt();
while (1) { while (1) {