switch(IRcord[2])//判断第三个数码值 { case 0:P0=dofly[0];break;//0 显示相应的按键值 case 1:P0=dofly[1];break;//1 case 2:P0=dofly[2];break;//2 case 3:P0=dofly[3];break;//3 case 4:P0=dofly[4];break;//4 case 5:P0=dofly[5];break;//5 case 6:P0=dofly[6];break;//6