const unsigned char biao[]={0x00,0x00,0x00,0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,
0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71,0x00,0x00,0x00};
const unsigned char guanggao1[]={18,18,18,1,5,0,4,2,1,4,7,8,9,0,18,18,18};
main()
{
chushihua(); //初始化
guanggao(); //广告
while(1)
{
shuchu =1;
yanshi(100);
shuchu ^=1;
yanshi(100);
}
}
void guanggao() //广告
{
unsigned char ggao_a1,ggao_a2,ggao_a3;
for(ggao_a1=0;ggao_a1<14;ggao_a1++)
{
ggao_a2 =guanggao1[ggao_a1]; //取回第一位
xs_a1 =biao[ggao_a2+3]; //第一位的字模(3是偏移量)
ggao_a2 =guanggao1[ggao_a1+1];
xs_a2 =biao[ggao_a2+3];
ggao_a2 =guanggao1[ggao_a1+2];
xs_a3 =biao[ggao_a2+3];
for(ggao_a3=50;ggao_a3>0;ggao_a3--)
{
xianshi();
}
}
}
|