单片机

unsigned char code table[]= {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};
void delay(unsigned int Ms)
{
    unsigned int k;
    unsigned char i, j;
    for(k=0; k<Ms; k++)
    {
        _nop_();
        i = 32;
        j = 40;
        do
        {
            while (--j);
        } while (--i);
    }
}
P1 = 0xff; //消隐
flow_flag = _crol_(flow_flag,1);

 

posted @ 2019-11-18 12:42  小然同学  阅读(127)  评论(0编辑  收藏  举报