欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標題: 流水燈例程 [打印本頁]

作者: z13688334645    時間: 2017-10-14 13:21
標題: 流水燈例程
#include <reg52.h>
#define uchar unsigned char
#define uint unsigned int

uchar code Pattern_P0[]=
{
        0xfc,0xf9,0xf3,0xe7,0xcf,0x9f
};
uchar code Pattern_P2[]=
{
        0xf5,0xf6,0xfe,0x54,0x56,0x76,0xd7,0x49,0xa9,0xe4,0xc6
};

void DelayMS(uint x)
{
        uchar t;
        while(x--)
        {
                 for(t=120;t>0;t--);
        }
}

void main()
{
        uchar i;
        while(1)
        {
                 for(i=136;i>0;i--)
                {
                         P0=Pattern_P0[i];
                        P2=Pattern_P2[i];
                        DelayMS(150);
                }       
        }
}






歡迎光臨 (http://m.raoushi.com/bbs/) Powered by Discuz! X3.1