#include<reg51.h>
unsigned char code table[]={
0xff,0xe7,0xc3,0x81,0x00,
0xff,0xe7,0x3c,0x18,0x00,
0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f,
0x7f,0xbf,0xdf,0xef,0xf7,0xfb,0xfd,0xfe,
0x00,0xff,0x00,0xff,
0x00,
};
DELAY()
{
unsigned int s;
for(s=0;s<30000;s++);
}
main()
{
unsigned char i;
while(1)
{
if(table[i]!=0x01)
{
P1=table[i];
i++;
DELAY();
}
else
{
i=0;
}
}
}
-
0xff,0xe7,0xc3,0x81,0x00,
0xff,0xe7,0x3c,0x18,0x00,
0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f,
0x7f,0xbf,0xdf,0xef,0xf7,0xfb,0xfd,0xfe,
0x00,0xff,0x00,0xff,
0x00,
一周热门 更多>