ORTB=0xfe;break; //1111 1110B 点亮LED1
ORTB=0xfc;break; //1111 1100B 点亮LED1~LED2
ORTB=0xf8;break; //1111 1000B 点亮LED1~LED3
ORTB=0xf0;break; //1111 0000B 点亮LED1~LED4
ORTB=0xe0;break; //1110 0000B 点亮LED1~LED5
ORTB=0xc0;break; //1100 0000B 点亮LED1~LED6
ORTB=0x80;break; //1000 0000B 点亮LED1~LED7
ORTB=0x00;break; //0000 0000B 点亮LED1~LED8| 欢迎光临 中科因仑“3+1”工程特种兵精英论坛 (http://bbs.enlern.com/) | Powered by Discuz! X3.4 |