MSP430 launchpad

Video:

Code

#include <msp430.h>

int main (void)

{

WDTCTL = WDTPW + WDTHOLD;

P1DIR =0x41;

while (1)

{

P1OUT=0x01;

_delay_cycles (100000);

P1OUT=0x40;

_delay_cycles (100000);

}

}