单片机

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);
原文地址:https://www.cnblogs.com/shuoran/p/11881394.html