51單片機(jī)程序——讓點(diǎn)陣動(dòng)起來(lái)
unsigned char code table[10]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
void Delay(unsigned int t);
void main (void)
{
unsigned char i;
P1 = 0xff;
while (1)
{
for(i=0;i<8;i++)
}
}
void Delay(unsigned int t)
{
}
評(píng)論