-interrupt(TIMERA0_VECTOR) Timer_A (void)
-{
-#ifdef DAC12IR
- //debugstr("Glitching.");
- DAC12_0DAT = glitchL;
- asm("nop");
- asm("nop");
- asm("nop");
- asm("nop");
- asm("nop");
- DAC12_0DAT = glitchH;
-#endif
- 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.
+
+ //P5OUT^=BIT7;//Normal
+ return;