#include <msp430.h>
int x = 100;
void main(void) {
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
// Port_init();
P2DIR |= (BIT1+BIT2);
P2OUT |= (BIT1+BIT2);
P2SEL |= (BIT1+BIT2);
TA1CTL = TASSEL_2 + MC_1 + TAIE; // SMCLK(1Mhz) // up mode //
TA1CCR0 =3000; //
TA1CCR1 = x; //modul...