MSP430低功耗模式-while循环失效

如下代码实现MSP430G2553单片机两个led交替闪烁 #include <msp430.h> /** * main.c */ int main(void) { WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer P1DIR|=BIT0+BIT6; P1OUT|=BIT0; while(1) { unsigned int
相关文章
相关标签/搜索