KFDtool/fw/5529_LED_BLINK/main.c

16 lines
217 B
C
Raw Permalink Normal View History

2019-07-29 15:24:10 -06:00
#include <msp430.h>
void main(void)
{
WDTCTL = WDTPW | WDTHOLD;
P1DIR |= BIT0;
volatile unsigned int i;
while(1)
{
P1OUT ^= BIT0;
for(i=10000; i>0; i--);
}
}