No.16375 作者:whf68 邮件:whf68cn_cn@sina.com ID:5117 登陆:8次 文章数:29篇 最后登陆IP:222.72.9.229 最后登陆:2005/1/29 16:21:26 注册:2001/11/16 9:12:00 财富:135 发帖时间:2002/12/25 9:51:00 发贴者IP:218.79.60.177 标题:whf68:C51编程:P1_1=!P1_1&P1^1=!P1_1前着可以编译为什么后着不行? 摘要:No.16375C51编程: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); } } ......
>>返回讨论的主题
|