Gast
#40238
interrupt(TIMERA0_VECTOR) TMR0int(void){
P1OUT = 0x01;
}
void main(void){
TACTL = TAIE | TACLR | ID_3 | TASSEL_SMCLK;
TACCR0 = 0xFF0;
TACCTL0 = CCIE;
TACTL |= MC_CONT;
for(;;){
P1OUT = 0x0;
}
}
In above code the LED (P1.pin1) should flash off almost all the time.
Why in my case it is ON.
I ahve no idea
robert
rseku@poczta.onet.pl