#include <msp430.h> 

/*
 * main.c
 */
int main(void) {
    WDTCTL = WDTPW | WDTHOLD;	// Stop watchdog timer
    P8DIR |= BIT3;                            // P1.0 output
    P8DIR |= BIT4;                            // P1.0 output
    P8DIR |= BIT5;                            // P1.0 output
    P8DIR |= BIT6;                            // P1.0 output
    P11DIR |= 0x07;                           // ACLK, MCLK, SMCLK set out to pins
    P11SEL |= 0x07;                           // P11.0,1,2 for debugging purposes.

    while(1)
    {
        P8OUT ^= BIT3;                          // Toggle P1.0
        P8OUT ^= BIT4;                          // Toggle P1.0
        P8OUT ^= BIT5;                          // Toggle P1.0
        P8OUT ^= BIT6;                          // Toggle P1.0
      __delay_cycles(60000);                  // Delay
    }

	return 0;
}
