-interrupt(TIMERA0_VECTOR) Timer_A (void)
-{
- P5OUT&=~BIT7;//Glitch
- //P5DIR=BIT7; //All else high impedance.
- P5OUT|=BIT7;//Normal
- TACTL |= MC0;// Stop Timer_A;
+interrupt(TIMERA0_VECTOR) Timer_A (void){
+ //This oughtn't be necessary, but glitches repeat without it.
+ TACTL=0; //disable counter.
+
+
+ P5OUT^=BIT7;//Glitch
+ //asm("nop"); //delay deepens glitch.
+ P5OUT^=BIT7;//Normal
+
+ //This oughtn't be necessary, but glitches repeat without it.
+ TACTL=0; //disable counter.