P0INP &= 0Xfd;P1DIR |= 0X01;

 P0INP &= 0Xfd;P1DIR |= 0X01;

&用于0,有0就0;|用于1;有1就1;

posted @ 2016-11-13 21:26  xixika  阅读(866)  评论(0编辑  收藏  举报