I'm a newbie at programming so please bear with me. I have a MSP430f5529 chip in a msp-ts430pn80usb board connected with a msp-fet430uif connected to a computer. I'm trying the sample code at lighting the LED but nothing's happening. I'm using IAR.
code im using:
#include <msp430f5529.h>
void main(void) { volatile unsigned int i;
WDTCTL = WDTPW+WDTHOLD; // Stop WDT
P1DIR |= BIT0; // P1.0 set as output
while(1) // continuous loop
{
P1OUT ^= BIT0; // XOR P1.0
for(i=50000;i>0;i--); // Delay
}
}