Pretty much your entire program is executed in a timer ISR. Since you haven't turned off the timer (TA1) and you re-enable interrupts, this "program" will restart every 550 microseconds. My guess is that this isn't long enough to do much. I recommend you move all that code into main(). What did you intend for the timer to do?
↧