This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

msp430 1.4口不能输出

Other Parts Discussed in Thread: MSP-EXP430FR2311

您好,我正在使用MSP-EXP430FR2311 在设置输出时发p1.4端口不能正确输出了。

使用led灯闪烁例程测试,1.4口作为led的输出时不能闪烁,测试过p1.0 p1.1 p1.5 p2.0 p2.1 都可以正常闪烁 。求解答? 

int main(void) {
WDTCTL = WDTPW | WDTHOLD; 
PM5CTL0 &= ~LOCKLPM5; 

P1DIR |= 0x10; 

for(;;) {
volatile unsigned int i;

P1OUT ^= 0x10;

i = 10000; 
do i--;
while(i != 0);
}

return 0;
}