Keil编译错误Error:Redefinition

来源:互联网 发布:自学速记 知乎 编辑:程序博客网 时间:2024/05/16 12:20

过程:在数码管显示函数中定义sbit B=P1^1;

原因:因为reg52.h里有B的定义!

0 0
原创粉丝点击