[font=宋体][size=9pt]广州远景微电子有限公司从[/size][/font][font=ˎ̥][size=9pt][font=Times New Roman]1999[/font][/size][/font][font=宋体][size=9pt]年至今专业从事[/size][/font][b][font=宋体][size=9pt]麦肯[/size][/font][
#define led BIT0P1DIR=0xff;P1OUT|=BIT0;//置1,灯亮delay();// 延时P1OUT&=~BIT0;// 置0,灯灭这样写对吗??还是应该写为:#define led BIT0P1DIR=0xff;P1OUT|=led;//置1,灯亮delay();// 延时P1OUT&=~led;// 置0,灯灭