久久久久久久999_99精品久久精品一区二区爱城_成人欧美一区二区三区在线播放_国产精品日本一区二区不卡视频_国产午夜视频_欧美精品在线观看免费

 找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 1978|回復: 0
打印 上一主題 下一主題
收起左側

紅外遙控控制4*4*4光立方隨意切換

[復制鏈接]
跳轉到指定樓層
樓主
ID:900977 發(fā)表于 2021-4-15 16:39 | 只看該作者 |只看大圖 回帖獎勵 |倒序瀏覽 |閱讀模式


P0=0x0E;
P1=0X8F;                                #include <reg52.h>
#include "IR.h"

extern bit irpro_ok,irok;        //紅外碼讀取成功和處理完成標志位
extern u8 TempData;                //紅外碼按鍵數(shù)據(jù)

void Delay(u16 del){
        u16 i,j;
        for(i=0; i<del; i++)
        for(j=0; j<18270; j++)   
        ;}
       
void main()
{

        TIM0init();               
        EX0init();
TempData=0;
while(1){

                if(irok)                        //如果接收好了進行紅外處理
                {   
                         Ircordpro();
                         irok=0;
                }
            if(irpro_ok)                   //如果處理好后進行工作處理,如按對應的按鍵后顯示對應的數(shù)字等
                {
                        Ir_work();
                }
               
                if(TempData==10)
                {
                P0=0x00;
P1=0X11;
P2=0X11;
Delay(8);
P1=0X22;
P2=0X22;
Delay(8);
P1=0X44;
P2=0X44;
Delay(8);
P1=0X88;
P2=0X88;
Delay(8);
P1=0X44;
P2=0X44;
Delay(8);
P1=0X22;
P2=0X22;
Delay(8);
P1=0X11;
P2=0X11;
Delay(8);//?????

P0=0x00;
P1=0X33;
P2=0X33;
Delay(8);
P1=0XCC;
P2=0XCC;
Delay(8);
P1=0X33;
P2=0X33;
Delay(8); //???

                        //把效果代碼放到這里
                       
                        TempData = 0;
                }
                if(TempData==11)
                {
                       
                P0=0x00;
P1=0XF;
P2=0X00;
Delay(8);
P1=0XF0;
P2=0X00;
Delay(8);
P1=0X00;
P2=0XF;
Delay(8);
P1=0X00;
P2=0XF0;
Delay(8);
P1=0X00;
P2=0XF;
Delay(8);
P1=0XF0;
P2=0X00;
Delay(8);
P1=0XF;
P2=0X00;
Delay(8);//???



P0=0x00;
P1=0XFF;
P2=0X00;
Delay(8);
P1=0X00;
P2=0XFF;
Delay(8);
P1=0XFF;
P2=0X00;
Delay(8);
//???

       
                        TempData = 0;
                }
                if(TempData==12)
                {
               
P0=0x00;
P1=0X21;
P2=0X84;
Delay(8);
P1=0X52;
P2=0X4A;
Delay(8);
P1=0X84;
P2=0X21;
Delay(8);
P1=0X48;
P2=0X12;
Delay(8);
P1=0XA4;
P2=0X25;
Delay(8);
P1=0X12;
P2=0X48;
Delay(8);
P1=0X21;
P2=0X84;
Delay(8);
//???


P0=0x09;
P1=0X60;
P2=0X06;
Delay(8);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(8);
P0=0x09;
P1=0X60;
P2=0X06;
Delay(8);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(8);
P0=0x09;
P1=0X60;
P2=0X06;
Delay(8);
//???

               
                        TempData = 0;
                }
                if(TempData==13)
                {
                P0=0x0E;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X02;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X04;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X08;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X80;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X08;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X80;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X40;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X20;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X10;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X01;
Delay(5);
P0=0x0E;
P1=0X10;
P2=0X00;
Delay(5);


P0=0x0D;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x0D;
P1=0X02;
P2=0X00;
Delay(5);
P0=0x0D;
P1=0X04;
P2=0X00;
Delay(5);
P0=0x0D;
P1=0X08;
P2=0X00;
Delay(5);
P0=0x0D;
P1=0X80;
P2=0X00;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X08;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X80;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X40;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X20;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X10;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X01;
Delay(5);
P0=0x0D;
P1=0X10;
P2=0X00;
Delay(5);



P0=0x0B;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x0B;
P1=0X02;
P2=0X00;
Delay(5);
P0=0x0B;
P1=0X04;
P2=0X00;
Delay(5);
P0=0x0B;
P1=0X08;
P2=0X00;
Delay(5);
P0=0x0B;
P1=0X80;
P2=0X00;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X08;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X80;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X40;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X20;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X10;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X01;
Delay(5);
P0=0x0B;
P1=0X10;
P2=0X00;
Delay(5);

P0=0x07;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x07;
P1=0X02;
P2=0X00;
Delay(5);
P0=0x07;
P1=0X04;
P2=0X00;
Delay(5);
P0=0x07;
P1=0X08;
P2=0X00;
Delay(5);
P0=0x07;
P1=0X80;
P2=0X00;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X08;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X80;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X40;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X20;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X10;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X01;
Delay(5);
P0=0x07;
P1=0X10;
P2=0X00;
Delay(5);
//???



P0=0x0E;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X03;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X07;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0X08;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0X88;
Delay(5);
P2=0XC8;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0XE8;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0XF8;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0XF9;
Delay(5);
P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(5);



P0=0x0C;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x0C;
P1=0X03;
P2=0X00;
Delay(5);
P0=0x0C;
P1=0X07;
P2=0X00;
Delay(5);
P0=0x0C;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0X00;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0X08;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0X88;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0XC8;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0XE8;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0XF8;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0XF9;
Delay(5);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(5);


P0=0x08;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x08;
P1=0X03;
P2=0X00;
Delay(5);
P0=0x08;
P1=0X07;
P2=0X00;
Delay(5);
P0=0x08;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0X00;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0X08;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0X88;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0XC8;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0XE8;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0XF8;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0XF9;
Delay(5);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(5);

P0=0x00;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x00;
P1=0X03;
P2=0X00;
Delay(5);
P0=0x00;
P1=0X07;
P2=0X00;
Delay(5);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0X00;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0X08;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0X88;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0XC8;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0XE8;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0XF8;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0XF9;
Delay(5);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(5);
//???

               
                        TempData = 0;
                }
                if(TempData==14)
                {

P0=0x00;
P1=0X01;
P2=0X00;
Delay(5);
P1=0X03;
P2=0X00;
Delay(5);
P1=0X07;
P2=0X00;
Delay(5);
P1=0X0F;
P2=0X00;
Delay(5);
P1=0X8F;
P2=0X00;
Delay(5);
P1=0X8F;
P2=0X08;
Delay(5);
P1=0X8F;
P2=0X88;
Delay(5);
P1=0X8F;
P2=0XC8;
Delay(5);
P1=0X8F;
P2=0XE8;
Delay(5);
P1=0X8F;
P2=0XF8;
Delay(5);
P1=0X8F;
P2=0XF9;
Delay(5);
P1=0X9F;
P2=0XF9;
Delay(5);
P1=0XBF;
P2=0XF9;
Delay(5);
P1=0XFF;
P2=0XF9;
Delay(5);
P1=0XFF;
P2=0XFD;
Delay(5);
P1=0XFF;
P2=0XFF;
Delay(5);
//???

P0=0X0C;
P1=0X33;
P2=0X00;
Delay(8);
P0=0X08;
P1=0X77;
P2=0X07;
Delay(8);
P0=0X00;
P1=0XFF;
P2=0XFF;
Delay(8);
P0=0X08;
P1=0X77;
P2=0X07;
Delay(8);
P0=0X0C;
P1=0X33;
P2=0X00;
Delay(8);


P0=0X0C;
P1=0XCC;
P2=0X00;
Delay(8);
P0=0X08;
P1=0XEE;
P2=0X0E;
Delay(8);
P0=0x00;
P1=0XFF;
P2=0XFF;
Delay(8);
P0=0X08;
P1=0XEE;
P2=0X0E;
Delay(8);
P0=0X0C;
P1=0XCC;
P2=0X00;
Delay(8);


P0=0XFC;
P1=0X00;
P2=0XCC;
Delay(8);
P0=0XF8;
P1=0XE0;
P2=0XEE;
Delay(8);
P0=0XF0;
P1=0XFF;
P2=0XFF;
Delay(8);
P0=0XF8;
P1=0XE0;
P2=0XEE;
Delay(8);
P0=0XFC;
P1=0X00;
P2=0XCC;
Delay(8);

P0=0X0C;
P1=0X00;
P2=0X33;
Delay(8);
P0=0X08;
P1=0X70;
P2=0X77;
Delay(8);
P0=0X00;
P1=0XFF;
P2=0XFF;
Delay(8);
P0=0X08;
P1=0X70;
P2=0X77;
Delay(8);
P0=0X0C;
P1=0X00;
P2=0X33;
Delay(8);
//???

                        TempData = 0;
                }
                if(TempData==15)
                {
               
P0=0X00;
P1=0XFF;
P2=0XFF;
Delay(10);
P0=0X00;
P1=0X00;
P2=0X00;
Delay(5);
P0=0X00;
P1=0XFF;
P2=0XFF;
Delay(10);
P0=0X00;
P1=0X00;
P2=0X00;
Delay(5);
P0=0X00;
P1=0XFF;
P2=0XFF;
Delay(10);
//????


P0=0XF7;
P1=0XE;
P2=0X80;
Delay(10);
P1=0X7;
P2=0X80;
Delay(10);
P1=0X13;
P2=0X80;
Delay(10);
P1=0X11;
P2=0X81;
Delay(10);
P1=0X10;
P2=0X91;
Delay(10);
P1=0X00;
P2=0XB1;
Delay(10);
P1=0X00;
P2=0XF0;
Delay(10);
P1=0X08;
P2=0XF0;
Delay(10);
P1=0X08;
P2=0XE8;
Delay(10);
P1=0X88;
P2=0XC8;
Delay(10);
P1=0X89;
P2=0XC8;
Delay(10);
P1=0X8D;
P2=0X88;
Delay(10);
P1=0X8F;
P2=0X08;
Delay(10);
//????



                        TempData = 0;
                }
                if(TempData==16)
                {

P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X00;
P2=0XF0;
Delay(5);
P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X00;
P2=0XF0;
Delay(5);
P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X00;
P2=0XF0;
Delay(5);//???

                        TempData = 0;
                }
                if(TempData==17)
                {
P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X11;
P2=0X11;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X88;
P2=0X88;
Delay(5);
P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X11;
P2=0X11;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X88;
P2=0X88;
Delay(5);
P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X11;
P2=0X11;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X88;
P2=0X88;
Delay(5);
//???
P0=0x0E;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0E;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0E;
P1=0X60;
P2=0X06;
Delay(3);


P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(3);
//??


                        TempData = 0;
                }
                if(TempData==18)
                {
       
        P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);
P0=0x0E;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);
P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(3);

//??

                        TempData = 0;
                }
                if(TempData==19)
                {

P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);
P0=0x0E;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);
P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(3);


P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
P0=0x00;
P1=0X11;
P2=0X42;
Delay(3);
P0=0x00;
P1=0X11;
P2=0X21;
Delay(3);
P0=0x00;
P1=0X11;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X12;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X24;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);
//??

                        TempData = 0;
                }
                if(TempData==20)
                {
               

P0=0x00;
P1=0X2C;
P2=0X01;
Delay(3);
P0=0x00;
P1=0X1E;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X87;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X43;
P2=0X08;
Delay(3);
P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);


P0=0x00;
P1=0X11;
P2=0X42;
Delay(3);
P0=0x00;
P1=0X11;
P2=0X21;
Delay(3);
P0=0x00;
P1=0X11;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X12;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X24;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);

P0=0x00;
P1=0X1E;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X87;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X43;
P2=0X08;
Delay(3);
P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
//??
                        TempData = 0;
                }
                }
                while(1){
P0=0x00;
P1=0X11;
P2=0X11;
Delay(8);
P1=0X22;
P2=0X22;
Delay(8);
P1=0X44;
P2=0X44;
Delay(8);
P1=0X88;
P2=0X88;
Delay(8);
P1=0X44;
P2=0X44;
Delay(8);
P1=0X22;
P2=0X22;
Delay(8);
P1=0X11;
P2=0X11;
Delay(8);

P0=0x00;
P1=0X33;
P2=0X33;
Delay(8);
P1=0XCC;
P2=0XCC;
Delay(8);
P1=0X33;
P2=0X33;
Delay(8);

P0=0x00;
P1=0XF;
P2=0X00;
Delay(8);
P1=0XF0;
P2=0X00;
Delay(8);
P1=0X00;
P2=0XF;
Delay(8);
P1=0X00;
P2=0XF0;
Delay(8);
P1=0X00;
P2=0XF;
Delay(8);
P1=0XF0;
P2=0X00;
Delay(8);
P1=0XF;
P2=0X00;
Delay(8);

P0=0x00;
P1=0XFF;
P2=0X00;
Delay(8);
P1=0X00;
P2=0XFF;
Delay(8);
P1=0XFF;
P2=0X00;
Delay(8);

P0=0x00;
P1=0X21;
P2=0X84;
Delay(8);
P1=0X52;
P2=0X4A;
Delay(8);
P1=0X84;
P2=0X21;
Delay(8);
P1=0X48;
P2=0X12;
Delay(8);
P1=0XA4;
P2=0X25;
Delay(8);
P1=0X12;
P2=0X48;
Delay(8);
P1=0X21;
P2=0X84;
Delay(8);

P0=0x09;
P1=0X60;
P2=0X06;
Delay(8);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(8);
P0=0x09;
P1=0X60;
P2=0X06;
Delay(8);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(8);
P0=0x09;
P1=0X60;
P2=0X06;
Delay(8);

/**
P0=0x0E;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X02;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X04;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X08;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X80;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X08;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X80;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X40;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X20;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X10;
Delay(5);
P0=0x0E;
P1=0X00;
P2=0X01;
Delay(5);
P0=0x0E;
P1=0X10;
P2=0X00;
Delay(5);

P0=0x0D;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x0D;
P1=0X02;
P2=0X00;
Delay(5);
P0=0x0D;
P1=0X04;
P2=0X00;
Delay(5);
P0=0x0D;
P1=0X08;
P2=0X00;
Delay(5);
P0=0x0D;
P1=0X80;
P2=0X00;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X08;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X80;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X40;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X20;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X10;
Delay(5);
P0=0x0D;
P1=0X00;
P2=0X01;
Delay(5);
P0=0x0D;
P1=0X10;
P2=0X00;
Delay(5);

P0=0x0B;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x0B;
P1=0X02;
P2=0X00;
Delay(5);
P0=0x0B;
P1=0X04;
P2=0X00;
Delay(5);
P0=0x0B;
P1=0X08;
P2=0X00;
Delay(5);
P0=0x0B;
P1=0X80;
P2=0X00;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X08;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X80;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X40;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X20;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X10;
Delay(5);
P0=0x0B;
P1=0X00;
P2=0X01;
Delay(5);
P0=0x0B;
P1=0X10;
P2=0X00;
Delay(5);

P0=0x07;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x07;
P1=0X02;
P2=0X00;
Delay(5);
P0=0x07;
P1=0X04;
P2=0X00;
Delay(5);
P0=0x07;
P1=0X08;
P2=0X00;
Delay(5);
P0=0x07;
P1=0X80;
P2=0X00;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X08;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X80;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X40;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X20;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X10;
Delay(5);
P0=0x07;
P1=0X00;
P2=0X01;
Delay(5);
P0=0x07;
P1=0X10;
P2=0X00;
Delay(5);
**/
/**
P0=0x0E;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X03;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X07;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0X00;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0X08;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0X88;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0XC8;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0XE8;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0XF8;
Delay(5);
P0=0x0E;
P1=0X8F;
P2=0XF9;
Delay(5);
P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(5);

P0=0x0C;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x0C;
P1=0X03;
P2=0X00;
Delay(5);
P0=0x0C;
P1=0X07;
P2=0X00;
Delay(5);
P0=0x0C;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0X00;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0X08;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0X88;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0XC8;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0XE8;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0XF8;
Delay(5);
P0=0x0C;
P1=0X8F;
P2=0XF9;
Delay(5);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(5);

P0=0x08;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x08;
P1=0X03;
P2=0X00;
Delay(5);
P0=0x08;
P1=0X07;
P2=0X00;
Delay(5);
P0=0x08;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0X00;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0X08;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0X88;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0XC8;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0XE8;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0XF8;
Delay(5);
P0=0x08;
P1=0X8F;
P2=0XF9;
Delay(5);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(5);

P0=0x00;
P1=0X01;
P2=0X00;
Delay(5);
P0=0x00;
P1=0X03;
P2=0X00;
Delay(5);
P0=0x00;
P1=0X07;
P2=0X00;
Delay(5);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0X00;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0X08;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0X88;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0XC8;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0XE8;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0XF8;
Delay(5);
P0=0x00;
P1=0X8F;
P2=0XF9;
Delay(5);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(5);
**/
P0=0x00;
P1=0X01;
P2=0X00;
Delay(5);
P1=0X03;
P2=0X00;
Delay(5);
P1=0X07;
P2=0X00;
Delay(5);
P1=0X0F;
P2=0X00;
Delay(5);
P1=0X8F;
P2=0X00;
Delay(5);
P1=0X8F;
P2=0X08;
Delay(5);
P1=0X8F;
P2=0X88;
Delay(5);
P1=0X8F;
P2=0XC8;
Delay(5);
P1=0X8F;
P2=0XE8;
Delay(5);
P1=0X8F;
P2=0XF8;
Delay(5);
P1=0X8F;
P2=0XF9;
Delay(5);
P1=0X9F;
P2=0XF9;
Delay(5);
P1=0XBF;
P2=0XF9;
Delay(5);
P1=0XFF;
P2=0XF9;
Delay(5);
P1=0XFF;
P2=0XFD;
Delay(5);
P1=0XFF;
P2=0XFF;
Delay(5);

P0=0X0C;
P1=0X33;
P2=0X00;
Delay(8);
P0=0X08;
P1=0X77;
P2=0X07;
Delay(8);
P0=0X00;
P1=0XFF;
P2=0XFF;
Delay(8);
P0=0X08;
P1=0X77;
P2=0X07;
Delay(8);
P0=0X0C;
P1=0X33;
P2=0X00;
Delay(8);

P0=0X0C;
P1=0XCC;
P2=0X00;
Delay(8);
P0=0X08;
P1=0XEE;
P2=0X0E;
Delay(8);
P0=0x00;
P1=0XFF;
P2=0XFF;
Delay(8);
P0=0X08;
P1=0XEE;
P2=0X0E;
Delay(8);
P0=0X0C;
P1=0XCC;
P2=0X00;
Delay(8);

P0=0XFC;
P1=0X00;
P2=0XCC;
Delay(8);
P0=0XF8;
P1=0XE0;
P2=0XEE;
Delay(8);
P0=0XF0;
P1=0XFF;
P2=0XFF;
Delay(8);
P0=0XF8;
P1=0XE0;
P2=0XEE;
Delay(8);
P0=0XFC;
P1=0X00;
P2=0XCC;
Delay(8);

P0=0X0C;
P1=0X00;
P2=0X33;
Delay(8);
P0=0X08;
P1=0X70;
P2=0X77;
Delay(8);
P0=0X00;
P1=0XFF;
P2=0XFF;
Delay(8);
P0=0X08;
P1=0X70;
P2=0X77;
Delay(8);
P0=0X0C;
P1=0X00;
P2=0X33;
Delay(8);

P0=0X00;
P1=0XFF;
P2=0XFF;
Delay(10);
P0=0X00;
P1=0X00;
P2=0X00;
Delay(5);
P0=0X00;
P1=0XFF;
P2=0XFF;
Delay(10);
P0=0X00;
P1=0X00;
P2=0X00;
Delay(5);
P0=0X00;
P1=0XFF;
P2=0XFF;
Delay(10);

P0=0XF7;
P1=0XE;
P2=0X80;
Delay(10);
P1=0X7;
P2=0X80;
Delay(10);
P1=0X13;
P2=0X80;
Delay(10);
P1=0X11;
P2=0X81;
Delay(10);
P1=0X10;
P2=0X91;
Delay(10);
P1=0X00;
P2=0XB1;
Delay(10);
P1=0X00;
P2=0XF0;
Delay(10);
P1=0X08;
P2=0XF0;
Delay(10);
P1=0X08;
P2=0XE8;
Delay(10);
P1=0X88;
P2=0XC8;
Delay(10);
P1=0X89;
P2=0XC8;
Delay(10);
P1=0X8D;
P2=0X88;
Delay(10);
P1=0X8F;
P2=0X08;
Delay(10);

P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X00;
P2=0XF0;
Delay(5);
P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X00;
P2=0XF0;
Delay(5);
P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X00;
P2=0XF0;
Delay(5);

P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X11;
P2=0X11;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X88;
P2=0X88;
Delay(5);
P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X11;
P2=0X11;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X88;
P2=0X88;
Delay(5);
P0=0x0E;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X11;
P2=0X11;
Delay(5);
P0=0x07;
P1=0XFF;
P2=0XFF;
Delay(5);
P0=0x00;
P1=0X88;
P2=0X88;
Delay(5);

P0=0x0E;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0E;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0E;
P1=0X60;
P2=0X06;
Delay(3);

P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(3);

P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);
P0=0x0E;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);
P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(3);

P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);
P0=0x0E;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x0C;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x08;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X60;
P2=0X06;
Delay(3);
P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);
P0=0x0E;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x0C;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x08;
P1=0X9F;
P2=0XF9;
Delay(3);
P0=0x00;
P1=0X9F;
P2=0XF9;
Delay(3);

P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
P0=0x00;
P1=0X11;
P2=0X42;
Delay(3);
P0=0x00;
P1=0X11;
P2=0X21;
Delay(3);
P0=0x00;
P1=0X11;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X12;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X24;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);

P0=0x00;
P1=0X2C;
P2=0X01;
Delay(3);
P0=0x00;
P1=0X1E;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X87;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X43;
P2=0X08;
Delay(3);
P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);

P0=0x00;
P1=0X11;
P2=0X42;
Delay(3);
P0=0x00;
P1=0X11;
P2=0X21;
Delay(3);
P0=0x00;
P1=0X11;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X12;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X24;
P2=0X11;
Delay(3);
P0=0x00;
P1=0X48;
P2=0X12;
Delay(3);

P0=0x00;
P1=0X1E;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X0F;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X87;
P2=0X00;
Delay(3);
P0=0x00;
P1=0X43;
P2=0X08;
Delay(3);
P0=0x00;
P1=0X21;
P2=0X84;
Delay(3);
}


}

51hei截圖20210415163651.png (159.69 KB, 下載次數(shù): 66)

51hei截圖20210415163651.png
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏1 分享淘帖 頂 踩
回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術交流QQ群281945664

Powered by 單片機教程網(wǎng)

快速回復 返回頂部 返回列表
主站蜘蛛池模板: 91xxx在线观看 | 91国内外精品自在线播放 | 欧美日韩高清一区 | 亚洲国产精品久久久久 | 国产成人99久久亚洲综合精品 | 欧美一级久久 | 国产农村妇女精品一二区 | 一级片在线视频 | 色嗨嗨 | 亚洲播放一区 | 黄网站涩免费蜜桃网站 | 日韩av一区二区在线观看 | 少妇一区在线观看 | 久草综合在线 | 亚洲精品乱码久久久久久蜜桃91 | 99亚洲| 四虎成人免费电影 | 久久国产综合 | 有码在线 | 欧美日韩在线精品 | 夜夜爽99久久国产综合精品女不卡 | 精品久久久久久久久久久 | 欧美精品国产精品 | 天天曰夜夜操 | 国产91久久久久蜜臀青青天草二 | 成在线人视频免费视频 | 欧美在线视频观看 | 欧美精品一区二区免费 | 另类视频区 | 日韩一区二区精品 | 男人天堂网站 | 成人免费淫片aa视频免费 | 国产综合视频 | 亚洲一本 | 天天躁日日躁狠狠的躁天龙影院 | 久草视频网站 | 亚洲国产一区二区三区 | 曰批视频在线观看 | 国产成人精品免费 | 欧美一级黄 | 国产女人与拘做受视频 |