1Hz
This commit is contained in:
parent
33a6a88cc2
commit
18d32c860e
@ -38,9 +38,9 @@ void timeInit() {
|
||||
P1DIR |= BIT6 | BIT0;
|
||||
P1OUT = 0;
|
||||
|
||||
TACCR0 = 32;
|
||||
TACCR0 = 1024;
|
||||
TACCTL0 = CCIE;
|
||||
TACTL = MC_1 | ID_0 | TASSEL_1 | TACLR;
|
||||
TACTL = MC_1 | ID_3 | TASSEL_1 | TACLR;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user