51单片机中头文件中怎么定义P4口?

我用P4^1=~P4^1提示错误

第1个回答  2013-09-16
sfr P4 = 0xC0; //定义P4口
sfr P4SW = 0xBB;
第2个回答  2009-02-24
P4当其他口用就死,reg51已经定义好了
第3个回答  2009-02-24
REG51里已经定义好了。
相似回答