想写一个红外遥控的程序,但不知道哪出错了,一直接收不到,求大神赐教
#include#defineucharunsignedchar#defineuintunsignedint//sbitduan=P2^6;//sbitwei=P2^7;sbitled=P1^2;sbitIRIN=P3^2;uinttime;ucharirvalue[4];ucharcodeduanma[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};voiddelayms(uintx){ uintm,n; for( ...