大家好!望大家多多指点。多谢 #include<AT89X51.H> sbit K1=p3^0; sbit L1=P1^0; void main(void) {while(1) {if(K1==0) {L1=0;} else{L1=1;} }} 运行以后为什么是这样啊! Build target 'Target 1' assembling STARTUP.A51... compiling my-test2.c... MY-TEST2.C(2): error C202: 'p3': undefined identifier MY-TEST2.C(6): error C202: 'K1': undefined identifier Target not created p3,k1是未定义标示符,要怎么定义啊,谢谢 |