C51编程:P1_1=!P1_1&P1^1=!P1_1前着可以编译为什么后着不行?#include <reg51.h>
delay(int t) {int i,j; for(i=0;i<t;i++); for(j=0;j<10;j++); }
main() { while(1) { P1^0=!P1^0; P1^1=!P1^1; P1^2=!P1^2; delay(10); } } 发表时间:2002年12月25日9:51:00