基于stc51单片机的光立方c语言源代码
时间:11-30
来源:互联网
点击:
![](../img/eep/emb/emb-6427155a1p2ld5ot.jpg)
电路图等制作资料请到这里下载:http://www.51hei.com/bbs/dpj-20613-1.html
下面是程序源码:
#include#define uint unsigned int#define uchar unsigned charsbit keyamenu=P4^4;//按键sbit keyout=P4^5;sbit keymenu=P4^6;uint code tab_water[]={0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0080,0x0140,0x0080,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0080,0x0140,0x0220,0x0140,0x0080,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x01c0,0x0220,0x0410,0x0410,0x0410,0x0220,0x01c0,0x0000,0x0000,0x0000,0x0000,0x0000, 0x0000,0x0000,0x0000,0x03e0,0x0410,0x0808,0x0808,0x0808,0x0808,0x0808,0x0410,0x03e0,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x07f0,0x0808,0x1004,0x1004,0x1004,0x1004,0x1004,0x1004,0x1004,0x0808,0x07f0,0x0000,0x0000,0x0000,0x0000,0x0ff8,0x1004,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x1004,0x0ff8,0x0000,0x0000,0x1ffc,0x2002,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x2002,0x1ffc,0x0000};char code tab00[]={7,7,7,7,7,7,7,7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6,//288+6,8+6,8+6,8+6,8+6,8+6,8+5,8+4,8+3,8+2,8+1,8+1,8+1,8+1,8+1,8+1,8+2,8+3,8+4,8+5,//2016+5,16+5,16+5,16+5,16+4,16+3,16+2,16+2,16+2,16+2,16+3,16+4,//1224+4,24+4,24+3,24+3,//24+432+4,32+4,32+3,32+3,40+5,40+5,40+5,40+5,40+4,40+3,40+2,40+2,40+2,40+2,40+3,40+4,//1248+6,48+6,48+6,48+6,48+6,48+6,48+5,48+4,48+3,48+2,48+1,48+1,48+1,48+1,48+1,48+1,48+2,48+3,48+4,48+5,//2056+7,56+7,56+7,56+7,56+7,56+7,56+7,56+7,56+6,56+5,56+4,56+3,56+2,56+1,56+0,56+0,56+0,56+0,56+0,56+0,56+0,56+0,56+1,56+2,56+3,56+4,56+5,56+6//28};char code tab10[]={56+7,56+7,56+7,56+7,56+7,56+7,56+7,56+7,56+6,56+5,56+4,56+3,56+2,56+1,56+0,56+0,56+0,56+0,56+0,56+0,56+0,56+0,56+1,56+2,56+3,56+4,56+5,56+6,//56+2848+6,48+6,48+6,48+6,48+6,48+6,48+5,48+4,48+3,48+2,48+1,48+1,48+1,48+1,48+1,48+1,48+2,48+3,48+4,48+5,//2040+5,40+5,40+5,40+5,40+4,40+3,40+2,40+2,40+2,40+2,40+3,40+4,//1232+4,32+4,32+3,32+3,24+4,24+4,24+3,24+3,//24+416+5,16+5,16+5,16+5,16+4,16+3,16+2,16+2,16+2,16+2,16+3,16+4,//128+6,8+6,8+6,8+6,8+6,8+6,8+5,8+4,8+3,8+2,8+1,8+1,8+1,8+1,8+1,8+1,8+2,8+3,8+4,8+5,//207,7,7,7,7,7,7,7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6//28};char code tab01[]={7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,7,7,7,7,7,7,//286,5,4,3,2,1,1,1,1,1,1,2,3,4,5,6,6,6,6,6,//205,4,3,2,2,2,2,3,4,5,5,5,//124,3,3,4,//4,3,3,4,5,4,3,2,2,2,2,3,4,5,5,5,//126,5,4,3,2,1,1,1,1,1,1,2,3,4,5,6,6,6,6,6,//207,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,7,7,7,7,7,7,//28};uchar code tab_print[]={//打印函数使用0X00,0X00,0X81,0XFF,0XFF,0X81,0X00,0X00,//I0X1C,0X3E,0X7E,0XFC,0XFC,0X7E,0X3E,0X1C,//心0X3F,0X7F,0X80,0X80,0X80,0X80,0X7F,0X3F,//U0X3C,0X42,0X14,0XA1,0XA1,0X14,0X42,0X3C,//笑脸0X00,0X73,0XE9,0X89,0X89,0X8F,0X4F,0X00,//50X00,0XC6,0X86,0X89,0X99,0XB1,0XE7,0XC6,//20X3C,0X7E,0X81,0X81,0X81,0X7E,0X3C,0X00,//00X00,0X00,0X3C,0X3C,0X3C,0X3C,0X00,0X00,//正方形0X20,0X30,0X38,0X3C,0X3C,0X38,0X30,0X20,//三角形0X08,0X14,0X22,0X77,0X14,0X14,0X14,0X1C,//箭头0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//全亮0X00,0X00,0X80,0XFF,0XFF,0X82,0X00,0X00,//10X00,0X76,0XFF,0X89,0X89,0X81,0XC2,0X00,//30X00,0X00,0X80,0XFF,0XFF,0X82,0X00,0X00,//10X20,0XA0,0XFF,0XFF,0XA3,0X22,0X3C,0X30//4};char code tab_mian[]={4,3,7,2,0,6,1,5};char code tab_xian[]={5,0,3,6,1,7,4,2};char code tab_dian[]={0,1,3,4,7,2,6,5,1,7,5,0,4,2,3,6,1,6,4,0,7,5,2,3,5,7,4,2,0,1,6,3,1,6,3,4,5,2,0,7,6,7,1,5,4,2,0,3,2,0,3,1,5,7,6,4,5,2,1,0,3,6,7,4,0,7,4,3,2,6,5,1,4,7,2,6,5,3,1,0,0,1,4,3,2,5,6,7,3,6,7,2,1,4,0,5,5,2,1,0,7,6,4,3,1,4,0,2,3,5,7,6,4,2,1,5,6,0,7,3,0,4,7,3,1,5,2,6,1,0,6,7,4,5,3,2,6,0,4,2,7,5,1,3,3,1,2,6,7,5,0,4,2,4,1,0,6,5,3,7,6,2,1,5,7,4,3,0,1,0,5,3,2,6,7,4,7,1,0,4,2,5,6,3,6,4,1,0,2,5,7,3,2,6,7,0,3,5,1,4,6,3,7,2,1,4,5,0,7,0,5,6,1,3,4,2,5,2,3,4,0,7,1,6,2,3,0,7,6,4,1,5,1,3,0,4,5,2,7,6,3,4,2,5,6,0,1,7,4,2,0,6,3,7,5,1,4,1,6,0,7,3,2,5,7,6,0,5,1,4,2,3,6,1,3,2,7,0,5,4,2,7,3,6,0,5,1,4,6,5,2,1,0,3,7,4,7,1,0,5,4,6,3,2,1,7,3,2,6,0,5,4,0,2,6,7,4,3,5,1,0,5,4,1,6,3,2,7,0,1,5,4,7,2,3,6,1,4,2,3,5,7,6,0,2,7,0,5,6,1,3,4,2,1,6,0,4,5,3,7,6,1,5,4,2,7,3,0,4,0,5,2,1,6,7,3,1,2,0,6,3,7,4,5,5,0,1,2,4,3,7,6,4,2,0,6,7,5,1,3,2,3,7,4,6,1,0,5,1,5,7,0,3,4,2,6,2,7,6,3,5,1,0,4,4,5,7,0,2,3,1,6,0,5,7,3,2,1,6,4,6,4,5,7,1,0,3,2,1,6,5,7,0,2,3,4,2,1,5,3,6,4,0,7,0,6,5,4,3,7,0,2,6,4,2,0,3,1,5,7,4,5,7,6,0,3,1,2,0,3,7,2,1,5,6,4,5,2,4,0,1,3,7,2,4,5,3,1,7,0,2,6};uchar code tab_shandian[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//10x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//20x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//30x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//40x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//50x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//60x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//70x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//80x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x80,0x00,0x00,0x00,0x00,0x00,0x00,//90x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x00,0x00,0x00,0x00,0x00,//100x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//110x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//120x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//130x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//140x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//150x00,0x00,0x00,0x00,0x00,0x01,0x01,0x03,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//160x00,0x00,0x00,0x00,0x00,0x01,0x01,0x07,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//170x00,0x00,0x00,0x00,0x00,0x01,0x01,0x0f,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x00,0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//180x00,0x00,0x00,0x00,0x00,0x01,0x01,0x1f,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x80,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x00,0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//190x00,0x00,0x00,0x00,0x00,0x01,0x01,0x3f,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x80,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x00,0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//200x00,0x00,0x00,0x00,0x00,0x01,0x81,0x7f,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x80,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x00,0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//210x00,0x00,0x00,0x00,0x00,0x01,0x81,0xff,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x80,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x00,0x01,0x01,0x01,0x00,0x00,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x01,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0xff,0x80,0x80,0x80,0x00,0x00,0x00,0x00,//22};uchar code yc_table[]={//2帧,yinchu函数使用0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,//1I0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,//2心脏0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,0x00,0x00,0x18,0x7e,0x7e,0x18,0x00,0x00,0x00,0x00,0x3c,0x7e,0x7e,0x3c,0x00,0x00,0x00,0x18,0x7e,0xff,0xff,0x7e,0x18,0x00,0x00,0x00,0x7e,0xff,0xff,0x7e,0x00,0x00,0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,//3U0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x24,0x00,0x00,0x00,//4苹果0x00,0x00,0x00,0x7e,0x7e,0x00,0x00,0x00,0x00,0x00,0x3c,0xff,0x7e,0x3c,0x00,0x00,0x00,0x18,0x7e,0xff,0xff,0x7e,0x18,0x00,0x00,0x00,0x3c,0xfe,0xfe,0x3c,0x00,0x00,0x00,0x00,0x00,0x6e,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//5五角星0x00,0x00,0x00,0x22,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x3e,0x3e,0x00,0x00,0x00,0x00,0x00,0x00,0x7f,0x7f,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x00,0x00,0x00};uchar code tab_xuanzhuantiao[]=//旋转条{0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,0x00,0x00,0x00,0x0f,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x0f,0x00,0x00,0x00,0x00,0x00,0x80,0x70,0x0e,0x01,0x00,0x00,0x00,0x80,0x60,0x10,0x08,0x06,0x01,0x00,//0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01,//10x40,0x20,0x20,0x10,0x08,0x04,0x04,0x02,0x20,0x10,0x10,0x10,0x08,0x08,0x08,0x04,0x10,0x10,0x10,0x10,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x10,0x10,0x10,0x10,0x04,0x08,0x08,0x08,0x10,0x10,0x10,0x20,0x02,0x04,0x04,0x08,0x10,0x20,0x20,0x40//7};uchar code flash0__tab[]={0X03,0X07,0X06,0X08,0X10,0X20,0X40,0X80,0X07,0X07,0X0F,0X1C,0X18,0X20,0X40,0X80,0X0F,0X0F,0X1F,0X3F,0X3C,0X78,0X60,0X80,0X1F,0X1F,0X3F,0X3F,0X7F,0X7C,0X70,0X80,0X3F,0X3F,0X3F,0X7F,0X7F,0X7F,0XF8,0XC0,0X7F,0X7F,0X7F,0X7F,0XFF,0XFF,0XFF,0XF0,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF//7};uchar code tab_xuanzhuantiao2[]=//旋转条{0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,//10X02,0X04,0X08,0X00,0X10,0X20,0X40,0X80,//0X04,0X08,0X00,0X10,0X20,0X20,0X40,0X80,//0X08,0X10,0X10,0X20,0X20,0X40,0X40,0X80,//0X10,0X10,0X20,0X20,0X20,0X40,0X40,0X80,//0X20,0X20,0X40,0X40,0X40,0X80,0X80,0X80,//0X40,0X40,0X40,0X40,0X80,0X80,0X80,0X80,//0X80,0X80,0X80,0X80,0X80,0X80,0X80,0X80,//80X80,0X80,0X80,0X80,0X40,0X40,0X40,0X40,//0X80,0X80,0X00,0X40,0X40,0X40,0X20,0X20,//100X80,0X80,0X40,0X40,0X20,0X20,0X10,0X10,//0X80,0X40,0X40,0X20,0X20,0X10,0X10,0X08,//0X80,0X40,0X20,0X20,0X10,0X10,0X08,0X04,//0X80,0X40,0X20,0X10,0X08,0X08,0X04,0X02,//0X80,0X40,0X20,0X10,0X08,0X04,0X02,0X01,//150X80,0X40,0X20,0X10,0X0C,0X02,0X01,0X00,//160X80,0X40,0X30,0X0C,0X02,0X01,0X00,0X00,//0X80,0X60,0X18,0X06,0X01,0X00,0X00,0X00,//180XC0,0X30,0X0E,0X01,0X00,0X00,0X00,0X00,//0XE0,0X1C,0X03,0X00,0X00,0X00,0X00,0X00,//200XF0,0X0F,0X00,0X00,0X00,0X00,0X00,0X00,//0XFF,0X00,0X00,0X00,0X00,0X00,0X00,0X00,//220X0F,0XF0,0X00,0X00,0X00,0X00,0X00,0X00,//230X07,0X38,0XC0,0X00,0X00,0X00,0X00,0X00,0X03,0X0C,0X20,0XC0,0X00,0X00,0X00,0X00,0X01,0X02,0X0C,0X30,0XC0,0X00,0X00,0X00,0X01,0X02,0X04,0X08,0X30,0XC0,0X00,0X00,0X01,0X02,0X04,0X08,0X10,0X60,0X80,0X00,0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,0X01,0X02,0X04,0X08,0X10,0X20,0X20,0X40,0X01,0X02,0X04,0X08,0X08,0X10,0X20,0X20,0X01,0X02,0X04,0X04,0X08,0X08,0X10,0X10,0X01,0X01,0X02,0X02,0X04,0X04,0X08,0X08,0X01,0X01,0X01,0X02,0X02,0X02,0X04,0X04,0X01,0X01,0X01,0X01,0X02,0X02,0X02,0X02,0X01,0X01,0X01,0X01,0X01,0X01,0X01,0X01,//360X02,0X02,0X02,0X02,0X01,0X01,0X01,0X01,//370X04,0X04,0X02,0X02,0X02,0X01,0X01,0X01,0X08,0X08,0X04,0X04,0X02,0X02,0X01,0X01,0X10,0X10,0X08,0X08,0X04,0X04,0X02,0X01,0X20,0X10,0X00,0X08,0X08,0X04,0X02,0X01,0X40,0X20,0X10,0X08,0X08,0X04,0X02,0X01,0X80,0X40,0X20,0X10,0X08,0X04,0X02,0X01,0X00,0X80,0X40,0X20,0X18,0X04,0X02,0X01,0X00,0X00,0X80,0X40,0X38,0X04,0X02,0X01,0X00,0X00,0X00,0X80,0X60,0X1C,0X02,0X01,0X00,0X00,0X00,0X00,0X80,0X70,0X0E,0X01,0X00,0X00,0X00,0X00,0X00,0XC0,0X3C,0X03,0X00,0X00,0X00,0X00,0X00,0X00,0XF0,0X0F,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0XFF,//500X00,0X00,0X00,0X00,0X00,0X00,0X0F,0XF0,//510X00,0X00,0X00,0X00,0X00,0X03,0X1C,0XE0,0X00,0X00,0X00,0X00,0X03,0X0C,0X30,0XC0,0X00,0X00,0X00,0X01,0X06,0X18,0X20,0XC0,0X00,0X00,0X01,0X02,0X0C,0X30,0X40,0X80,0X00,0X01,0X02,0X04,0X18,0X20,0X40,0X80,//0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80//57};uchar code bianxing_table[]={//变形0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,//1 0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,0x00,0x01,0x06,0x08,0x10,0x60,0x80,0x00,//20x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,0x00,0x00,0x01,0x0e,0x70,0x80,0x00,0x00,//30X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,0X00,0X00,0X00,0X0F,0XF0,0X00,0X00,0X00,//4变形开始0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,//50x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,0X00,0X0f,0X0F,0Xf0,0XF0,0X00,0X00,0X00,0X00,0X0f,0X0F,0Xf0,0XF0,0X00,0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,0X00,0X00,0X0F,0X00,0XF0,0X00,0X00,0X00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//60x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0X00,0X00,0X0f,0X0F,0Xf0,0XF0,0X00,0X00,0X00,0X00,0X0f,0X0F,0Xf0,0XF0,0X00,0X00,0X00,0X00,0X0f,0X0F,0Xf0,0XF0,0X00,0X00,0X00,0X00,0X0F,0X0f,0XF0,0Xf0,0X00,0X00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//70x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1e,0x1e,0x78,0x78,0x00,0x00,0x00,0x00,0x1e,0x1e,0x78,0x78,0x00,0x00,0x00,0x00,0x1e,0x1e,0x78,0x78,0x00,0x00,0x00,0x00,0x1e,0x1e,0x78,0x78,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//80x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//9,方体成型0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x66,0x66,0x00,0x00,0x66,0x66,0x00,0x00,0x66,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x66,0x66,0x00,0x00,0x66,0x66,0x00,0x00,0x66,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//100xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//11};uchar code y_table[]={//6帧四方块外轴心旋转0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//10x06,0x06,0x00,0x00,0x00,0x00,0x06,0x06,0xc6,0xc6,0x00,0x00,0x00,0x00,0xc6,0xc6,0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x63,0x63,0x00,0x00,0x00,0x00,0x63,0x63,0x60,0x60,0x00,0x00,0x00,0x00,0x60,0x60,//20x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,0x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,0x0c,0x0c,0x00,0x00,0x00,0x00,0x03,0x03,0x0c,0x0c,0x00,0x00,0x00,0x00,0x03,0x03,0x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,0x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,//30x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,//40x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,0x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,0x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,0x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,//50x60,0x60,0x00,0x00,0x00,0x00,0x60,0x60,0x63,0x63,0x00,0x00,0x00,0x00,0x63,0x63,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xc0,0x00,0x00,0x00,0x00,0xc0,0xc0,0xc6,0xc6,0x00,0x00,0x00,0x00,0xc6,0xc6,0x06,0x06,0x00,0x00,0x00,0x00,0x06,0x06//6};uchar code z_table[]={0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//10x60,0x63,0x03,0x00,0x00,0xc0,0xc6,0x06,0x60,0x63,0x03,0x00,0x00,0xc0,0xc6,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x63,0x03,0x00,0x00,0xc0,0xc6,0x06,0x60,0x63,0x03,0x00,0x00,0xc0,0xc6,0x06,//20x30,0x30,0x03,0x03,0xc0,0xc0,0x0c,0x0c,0x30,0x30,0x03,0x03,0xc0,0xc0,0x0c,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x03,0x03,0xc0,0xc0,0x0c,0x0c,0x30,0x30,0x03,0x03,0xc0,0xc0,0x0c,0x0c,//30x18,0x18,0x00,0xc3,0xc3,0x00,0x18,0x18,0x18,0x18,0x00,0xc3,0xc3,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0xc3,0xc3,0x00,0x18,0x18,0x18,0x18,0x00,0xc3,0xc3,0x00,0x18,0x18,//40x0c,0x0c,0xc0,0xc0,0x03,0x03,0x30,0x30,0x0c,0x0c,0xc0,0xc0,0x03,0x03,0x30,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x0c,0xc0,0xc0,0x03,0x03,0x30,0x30,0x0c,0x0c,0xc0,0xc0,0x03,0x03,0x30,0x30,//50x06,0xc6,0xc0,0x00,0x00,0x03,0x63,0x60,0x06,0xc6,0xc0,0x00,0x00,0x03,0x63,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0xc6,0xc0,0x00,0x00,0x03,0x63,0x60,0x06,0xc6,0xc0,0x00,0x00,0x03,0x63,0x60,//6}; uchar code xz_table[]={0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,//10x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,//20x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,//30x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,//40x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,//50x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//60x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,//70x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,//80x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,//90x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,//100x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,//110x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,//120x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,//130x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,//140x00,0x00,0x00,0x00,0x00,0xc0,0xff,0x3f,0x00,0x00,0x00,0x00,0x00,0xc0,0xff,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xff,0x3f,0x00,0x00,0x00,0x00,0x00,0xc0,0xff,0x3f,//150x00,0x00,0x00,0x00,0xc0,0xc0,0x3f,0x3f,0x00,0x00,0x00,0x00,0xc0,0xc0,0x3f,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xc0,0x3f,0x3f,0x00,0x00,0x00,0x00,0xc0,0xc0,0x3f,0x3f,//160x00,0x00,0x00,0xc0,0xc0,0x00,0x3f,0x3f,0x00,0x00,0x00,0xc0,0xc0,0x00,0x3f,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xc0,0x00,0x3f,0x3f,0x00,0x00,0x00,0xc0,0xc0,0x00,0x3f,0x3f,//170x00,0x00,0xc0,0xc0,0x00,0x00,0x3f,0x3f,0x00,0x00,0xc0,0xc0,0x00,0x00,0x3f,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xc0,0x00,0x00,0x3f,0x3f,0x00,0x00,0xc0,0xc0,0x00,0x00,0x3f,0x3f,//180x00,0xc0,0xc0,0x00,0x00,0x00,0x6f,0x6f,0x00,0xc0,0xc0,0x00,0x00,0x00,0x6f,0x6f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xc0,0x00,0x00,0x00,0x6f,0x6f,0x00,0xc0,0xc0,0x00,0x00,0x00,0x6f,0x6f,//190xc0,0xc0,0x00,0x00,0x00,0x00,0xcf,0xcf,0xc0,0xc0,0x00,0x00,0x00,0x00,0xcf,0xcf,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xc0,0x00,0x00,0x00,0x00,0xcf,0xcf,0xc0,0xc0,0x00,0x00,0x00,0x00,0xcf,0xcf,//200x60,0x60,0x00,0x00,0x00,0xc0,0xcf,0x0f,0x60,0x60,0x00,0x00,0x00,0xc0,0xcf,0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x60,0x00,0x00,0x00,0xc0,0xcf,0x0f,0x60,0x60,0x00,0x00,0x00,0xc0,0xcf,0x0f,//210x18,0x18,0x00,0x00,0xc0,0xc0,0x0f,0x0f,0x18,0x18,0x00,0x00,0xc0,0xc0,0x0f,0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0xc0,0xc0,0x0f,0x0f,0x18,0x18,0x00,0x00,0xc0,0xc0,0x0f,0x0f,//220x18,0x18,0x00,0xc0,0xc0,0x00,0x0f,0x0f,0x18,0x18,0x00,0xc0,0xc0,0x00,0x0f,0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0xc0,0xc0,0x00,0x0f,0x0f,0x18,0x18,0x00,0xc0,0xc0,0x00,0x0f,0x0f,//230x0c,0x0c,0xc0,0xc0,0x00,0x00,0x1b,0x1b,0x0c,0x0c,0xc0,0xc0,0x00,0x00,0x1b,0x1b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x0c,0xc0,0xc0,0x00,0x00,0x1b,0x1b,0x0c,0x0c,0xc0,0xc0,0x00,0x00,0x1b,0x1b,//240x06,0xc6,0xc0,0x00,0x00,0x00,0x33,0x33,0x06,0xc6,0xc0,0x00,0x00,0x00,0x33,0x33,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0xc6,0xc0,0x00,0x00,0x00,0x33,0x33,0x06,0xc6,0xc0,0x00,0x00,0x00,0x33,0x33,//250x03,0xc3,0xc0,0x00,0x00,0x00,0x63,0x63,0x03,0xc3,0xc0,0x00,0x00,0x00,0x63,0x63,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xc3,0xc0,0x00,0x00,0x00,0x63,0x63,0x03,0xc3,0xc0,0x00,0x00,0x00,0x63,0x63,//26};uchar code yx_table[]={//Y轴心切换至X轴心变形0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//10xc6,0xc6,0x00,0x00,0x00,0x00,0xc6,0xc6,0xc6,0xc6,0x00,0x00,0x00,0x00,0xc6,0xc6,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x63,0x63,0x00,0x00,0x00,0x00,0x63,0x63,0x60,0x60,0x00,0x00,0x00,0x00,0x60,0x60,//20xcc,0xcc,0x00,0x00,0x00,0x00,0xcc,0xcc,0xcc,0xcc,0x00,0x00,0x00,0x00,0xcc,0xcc,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,0x30,0x30,0x00,0x00,0x00,0x00,0x30,0x30,//30xd8,0xd8,0x00,0x00,0x00,0x00,0xd8,0xd8,0xd8,0xd8,0x00,0x00,0x00,0x00,0xd8,0xd8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,//40xf0,0xf0,0x00,0x00,0x00,0x00,0xf0,0xf0,0xf0,0xf0,0x00,0x00,0x00,0x00,0xf0,0xf0,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,0x0c,0x0c,0x00,0x00,0x00,0x00,0x0c,0x0c,//50xf0,0xf0,0x00,0x00,0x00,0x00,0xf0,0xf0,0xf3,0xf3,0x00,0x00,0x00,0x00,0xf3,0xf3,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x06,0x00,0x00,0x00,0x00,0x06,0x06,0x06,0x06,0x00,0x00,0x00,0x00,0x06,0x06,//60xf3,0xf3,0x00,0x00,0x00,0x00,0xf3,0xf3,0xf3,0xf3,0x00,0x00,0x00,0x00,0xf3,0xf3,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,//70xf6,0xf6,0x00,0x00,0x00,0x00,0xf6,0xf6,0xf6,0xf6,0x00,0x00,0x00,0x00,0xf6,0xf6,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//80xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,0xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//90xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,0xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//100xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,0xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//110xfc,0xfc,0x00,0x00,0x00,0x00,0xfc,0xfc,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//120xff,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//130xff,0xff,0xc3,0xc3,0xc3,0xc3,0xff,0xff,//完成0xff,0xff,0xc3,0xc3,0xc3,0xc3,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//140xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//150x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xff,0xff,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//160x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//170x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//180x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//190x00,0xc3,0xc3,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//200xc3,0xc3,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,//210x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,//220x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,//230x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,//240x00,0x00,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,//250x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,//26};uchar code x_table[]={//四方块X轴心旋转0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,//10x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,//20x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,//30x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,//40x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,//50x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0xc3,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0x00,//6};/***************************************************************/uchar code tab_rain[]={//rain0X00,0X84,0X01,0X00,0X00,0X01,0X02,0X44,0X84,0X00,0X24,0X08,0X04,0X20,0X80,0X00,0X00,0X20,0X00,0X00,0X20,0X00,0X40,0X00,0X00,0X04,0X00,0X40,0X00,0X00,0X08,0X00,0X40,0X00,0X10,0X00,0X00,0X04,0X04,0X11,0X00,0X41,0X00,0X00,0X80,0X00,0X40,0X00,0X00,0X00,0X00,0X24,0X01,0X18,0X00,0X00,0X22,0X10,0X02,0X00,0X40,0X00,0X02,0X00};uchar code sin_cube_table[]={//14帧0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,};uchar code hart_table[]={//2帧心跳0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x3c,0x18,0x00,0x00,0x00,0x00,0x00,0x18,0x3c,0x18,0x00,0x00,0x00,0x00,0x00,0x3c,0x7e,0x3c,0x18,0x00,0x00,0x00,0x00,0x18,0x7e,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x3c,0x3c,0x00,0x00,0x00,0x00,0x00,0x18,0x7e,0x7e,0x18,0x00,0x00,0x00,0x00,0x3c,0x7e,0x7e,0x3c,0x00,0x00,0x00,0x18,0x7e,0xff,0xff,0x7e,0x18,0x00,0x00,0x00,0x7e,0xff,0xff,0x7e,0x00,0x00,0x00,0x00,0x00,0x66,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};uchar code szfc_table[]={//数字浮出0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0X38,0X64,0X06,0X3E,0X66,0X66,0X24,0X18,//90x00,0x00,0x00,0x00,0X3C,0X66,0X66,0X3C,0X66,0X66,0X24,0X18,//80x00,0x00,0x00,0x00,0X30,0X30,0X30,0X18,0X0C,0X04,0X46,0X7E,//70x00,0x00,0x00,0x00,0X18,0X26,0X66,0X78,0X60,0X66,0X24,0X18,//60x00,0x00,0x00,0x00,0X18,0X64,0X46,0X06,0X1C,0X60,0X62,0X7E,//50x00,0x00,0x00,0x00,0X0C,0X0C,0X7E,0X68,0X6C,0X2C,0X3C,0X1C,//40x00,0x00,0x00,0x00,0x78,0x46,0x06,0x06,0x1c,0x06,0x46,0x3c,//30x00,0x00,0x00,0x00,0xfc,0xc0,0x60,0x30,0x18,0xc6,0xc6,0x78,//20x00,0x00,0x00,0x00,0x3c,0x18,0x18,0x18,0x18,0x18,0x38,0x18,//10x00,0x00,0x00,0x00,0X18,0X24,0X66,0X66,0X66,0X66,0X24,0X18,//00x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};/*音柱编码*/uchar code tuku1[]={0x01,0x03,0x07,0x0f,0x1f,0x3f,0x7f,0xff,0xff};uchar code table1[]={0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff/*0X1C,0X3E,0X7E,0XFC,0XFC,0X7E,0X3E,0X1C*/};uchar code table2[]={0Xe0,0Xe0,0Xe0,0xe0,0Xe0,0Xe0,0Xe0,0Xe0,0X07,0X07,0X07,0X07,0X07,0X07,0X07,0X07};/*uchar code table2[]={0X80,0Xc0,0Xe0,0xf0,0Xf0,0Xe0,0Xc0,0X80,0X01,0X03,0X07,0X0f,0X0f,0X07,0X03,0X01};*/uchar code table3[]={0Xf0,0Xe0,0Xc0,0x80,0X00,0X00,0X00,0X00,0X03,0X07,0X0e,0x1c,0X38,0X70,0Xe0,0Xc0,0X00,0X00,0X00,0X00,0X01,0X03,0X07,0X0f};uchar code table4[]={0Xc0,0Xc0,0X00,0x00,0X00,0X00,0X00,0X00,0X00,0X00,0X30,0x30,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X0c,0X0c,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0X03};uchar code table5[]={0Xc0,0Xc0,0X00,0x00,0X00,0X00,0X00,0X00,0X18,0X18,0X00,0x00,0X00,0X00,0X00,0X00,0X03,0X03,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0X03,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0X03};uchar code table6[]={0x0f,0x0f,0x0f,0x0f,0x00,0x00,0x00,0x00,0Xc0,0Xc0,0X00,0x00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0xc0,0Xc0,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0xc0,0Xc0,0X00,0X00,0X00,0X00,0X00,0X00,0X18,0X18,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0X03};uchar code number[]={//数字,滚动字幕使用,从上至下0x00,0x40,0x40,0x40,0x40,0x40,0x7E,0x00,/*"L",0*/0x00,0x7E,0x40,0x7E,0x40,0x40,0x7E,0x00,/*"E",1*/0x00,0x7C,0x46,0x42,0x42,0x46,0x7C,0x00,/*"D",2*/0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",3*/0x00,0x3C,0x62,0x40,0x40,0x61,0x3E,0x00,/*"C",4*/0x00,0x42,0x42,0x42,0x42,0x42,0x3C,0x00,/*"U",5*/0x00,0x7C,0x42,0x7C,0x42,0x41,0x7E,0x00,/*"B",6*/0x00,0x7E,0x40,0x7E,0x40,0x40,0x7E,0x00,/*"E",7*/0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",8*/0x00,0x42,0x42,0x7E,0x42,0x42,0x42,0x00,/*"H",9*/0x00,0x42,0x42,0x42,0x42,0x42,0x3C,0x00,/*"U",10*/0x00,0xC2,0x64,0x38,0x10,0x10,0x10,0x00,/*"Y",11*/0x00,0x18,0x18,0x24,0x7E,0x42,0x81,0x00,/*"A",12*/0x00,0x62,0x62,0x52,0x4A,0x46,0x46,0x00,/*"N",13*/0x00,0x3C,0x62,0x40,0x4E,0x62,0x3E,0x00,/*"G",14*/0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",15*/0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",16*/0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",17*/0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"Y",18*/0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",19*/0x00,0x44,0x44,0x7C,0x44,0x44,0x44,0x00,/*"H",20*/0x00,0x44,0x44,0x44,0x44,0x44,0x38,0x00,/*"U",21*/0x00,0x82,0x44,0x28,0x10,0x10,0x10,0x00,/*"Y",22*/0x00,0x10,0x28,0x28,0x7C,0x44,0x82,0x00,/*"A",23*/0x00,0x64,0x64,0x54,0x54,0x4C,0x44,0x00,/*"N",24*/0x00,0x78,0xC4,0x80,0x9C,0xC4,0x7C,0x00,/*"G",25*/0x00,0x10,0x10,0x10,0x10,0x00,0x10,0x00,/*"!",26*/0X38,0X64,0X06,0X3E,0X66,0X66,0X24,0X18,//"9"270X3C,0X66,0X66,0X3C,0X66,0X66,0X24,0X18,//"8"280X30,0X30,0X30,0X18,0X0C,0X04,0X46,0X7E,//"7"290X18,0X26,0X66,0X78,0X60,0X66,0X24,0X18,//"6"300X18,0X64,0X46,0X06,0X1C,0X60,0X62,0X7E,//"5"310X0C,0X0C,0X7E,0X68,0X6C,0X2C,0X3C,0X1C,//"4"320x78,0x46,0x06,0x06,0x1c,0x06,0x46,0x3c,//"3"330xfc,0xc0,0x60,0x30,0x18,0xc6,0xc6,0x78,//"2"340x3c,0x18,0x18,0x18,0x18,0x18,0x38,0x18,//"1"350X18,0X24,0X66,0X66,0X66,0X66,0X24,0X18,//"0"36//0XCC,0XCC,0X44,0X44,0X22,0X22,0X1f,0X00,//0XCC,0XCC,0X44,0X44,0X22,0X22,0X1f,0X00,0X66,0X66,0X66,0X7E,0X66,0X66,0X3C,0X18,/*"A",37*///0X00,0X99,0X99,0X99,0X99,0X99,0X66,0X00,0XC3,0XC7,0XCF,0XDF,0XFB,0XF3,0XE3,0XC3,/*"N",38*///0X03,0X05,0XF9,0X81,0X81,0XF9,0X05,0X03,0X7E,0X62,0X62,0X60,0X60,0X60,0X60,0X60/*"L",39*/};/*音柱编码*/uchar code tuku[]={0x01,0x03,0x07,0x0f,0x1f,0x3f,0x7f,0xff};uchar code BRTable[64] ={ 0,32,16,48,8,40,24,56,4,36,20,52,12,44,28,60,2,34,18,50,10,42,26,58,6,38,22,54,14,46,30,62,1,33,17,49,9,41,25,57,5,37,21,53,13,45,29,61,3,35,19,51,11,43,27,59,7,39,23,55,15,47,31,63};char code sin_tabb[64] = { 0 ,12 ,25 ,37 ,49 ,60 ,71 ,81 ,90 ,98 ,106 ,112 ,117 ,122 ,125 ,126 ,127 ,126 ,125 ,122 ,117 ,112 ,106 ,98 ,90 ,81 ,71 ,60 ,49 ,37 ,25 ,12 ,0 ,-12 ,-25 ,-37 ,-49 ,-60 ,-71 ,-81 ,-90 ,-98 ,-106 ,-112 ,-117 ,-122 ,-125 ,-126 ,-127 ,-126 ,-125 ,-122 ,-117 ,-112 ,-106 ,-98 ,-90 ,-81 ,-71 ,-60 ,-49 ,-37 ,-25 ,-12 }; char code cos_tabb[64] = {127 ,126 ,125 ,122 ,117 ,112 ,106 ,98 ,90 ,81 ,71 ,60 ,49 ,37 ,25 ,12 ,0 ,-12 ,-25 ,-37 ,-49 ,-60 ,-71 ,-81 ,-90 ,-98 ,-106 ,-112 ,-117 ,-122 ,-125 ,-126 ,-127 ,-126 ,-125 ,-122 ,-117 ,-112 ,-106 ,-98 ,-90 ,-81 ,-71 ,-60 ,-49 ,-37 ,-25 ,-12 ,0 ,12 ,25 ,37 ,49 ,60 ,71 ,81 ,90 ,98 ,106 ,112 ,117 ,122 ,125 ,126 };char num;char c[6];//用于存储5个不同频率的幅值char b[6];//用于使音谱柱形显示的平滑char amenu,menu,out;int xdata Real[64];//实部 int xdata Image[64];//虚部void delay(int t){int i;while(t--)for(i=0;i<700;i++);}void delay1(int t){char i;while(t--)for(i=0;i<20;i++);}void clc()//全局清屏{P3=0;P2=0xff;P0=0;P2=0;}uchar daoxu(uchar x)//一字节倒序{uchar k=0;char i;for(i=0;i<8;i++){if((x>>(7-i))&0x01)k|=0x01>=1;}}*/void fun1(uchar *a,uchar d,uchar b,uchar c,uchar e)//滚动字幕数据处理{char i;for(i=0;i<8;i++){a[i]=e&0x01;e>>=1;}a[7]|=(c<1);a[6]|=(c&0x80);for(i=0;i<6;i++){a[5-i]|=((b<(7-i))&0x80);}d=daoxu(d);a[0]|=((d>>1)&0x7e);}void zhen(uchar *a,uchar v)//一帧,a是一帧编码起始地址{uchar p;char i;while(v--){p=1;for(i=0;i<8;i++){key_out_scan();key_amenu_scan();key_menu_scan();if(amenu)break;P3=0;fun(a+i*8);P3=p;delay(2);p<=1;}} }void turn_on(uchar v){uchar a[64]={0};char i,j;a[7]=0x80;zhen(a,v);for(i=1;i<8;i++){a[i*8+7]=0x80;zhen(a,v);}for(i=6;i>=0;i--){for(j=0;j<8;j++)a[j*8+i]=0x80;zhen(a,v);} for(i=0;i<64;i++)a[i]=0; }void H_scan(uchar v){ uchar b[64]={0};char i,j;for(i=0;i<64;i++)b[i]=0x80;for(i=0;i<7;i++){for(j=0;j<64;j++)b[j]>>=1;zhen(b,v);}}void V_scan(uchar v){uchar a[64]={0};char i,j;for(i=0;i<8;i++)a[i]=0xff;zhen(a,v);for(i=1;i<8;i++){for(j=0;j<8;j++){a[i*8+j]=0xff;a[(i-1)*8+j]=0;}zhen(a,v);}}void jb0(char num,char v)///////////////////////////////{char i,k;uchar c[64]={0};for(i=0;i<64;i++)c[i]=0x80;zhen(c,v);while(num--)for(i=0;i<28;i++){if(i<7)for(k=0;k<8;k++){c[k*8]|=(0x80>>(i+1));c[k*8+7-i]=0;}else if(i<14)for(k=0;k<8;k++){c[k*8+i-6]=0x01;c[k*8]>>=0x01;}else if(i<21)for(k=0;k<8;k++){c[k*8+i-14]=0;c[k*8+7]|=(0x01<(i-13));}else if(i<28)for(k=0;k<8;k++){c[k*8+27-i]=0x80;c[k*8+7]<=1;}zhen(c,v);}clc();}void link_pingmian1(char v){uchar a[64]={0};char i,j;for(i=0;i<8;i++)for(j=0;j<8;j++){a[7*8+j]|=(0x01>=1;}else if(i<14)for(k=0;k<8;k++){a[k]|=0x01<(i-6);a[(14-i)*8+k]=0;}else if(i<21)for(k=0;k<8;k++){a[(i-13)*8+k]=0x80;a[k]<=1;} else for(k=0;k<8;k++){a[7*8+k]|=0x80>>(i-20);a[(i-21)*8+k]=0;}zhen(a,v);}clc();}void move(uchar *a,char kind,char direction,char length)//length不能为8//kind=0 x轴,1 x轴,2 z轴;direction=0,负向,1正向{char i,j;if(kind==0){if(direction==1)for(i=0;i<64;i++)a[i]<=length;elsefor(i=0;i<64;i++)a[i]>>=length; }else if(kind==1){if(direction==1)for(j=0;j<8;j++){for(i=7;i>=length;i--)a[i+j*8]=a[i-length+j*8];for(i=0;i =length;i--)a[j+i*8]=a[j+(i-length)*8];for(i=0;i >(8-n);elsea[j+i*8]=0;} }void produce_empty(uchar *a,char n)//0 >(8-n);/************X4列*************/a[(n-1)*8+n-1]=p;a[(n-1)*8]=p;a[0]=p;a[n-1]=p;for(j=0;j 0;i--)//退出{if(empty==0)produce_cube(a,i);elseproduce_empty(a,i);if(kind==0){move(a,1,1,8-i);move(a,0,1,8-i);}else if(kind==1)move(a,0,1,8-i);else if(kind==2){;}elsemove(a,1,1,8-i); zhen(a,v);}}/***************************************************************************/void yinchu(uchar *table,char n,char v){/****************************n为帧数******************************/char i,j,k;uchar a[64]={0},p;for(k=0;k >i))&(p<(7-i));}zhen(a,v); }zhen(table+k*64,50);}}void rain(char menu,char num,char v){//menu=0,up;menu=1,downuchar a[64]={0};char i,j;if(menu==0){for(i=0;i<8;i++)a[i]=tab_rain[i];zhen(a,v);for(i=1;i<8;i++){move(a,2,1,1);for(j=0;j<8;j++)a[j]=tab_rain[i*8+j];zhen(a,v);} while(num--){ for(i=0;i<8;i++){move(a,2,1,1);for(j=0;j<8;j++)a[j]=tab_rain[i*8+j];zhen(a,v);}}}else{for(i=0;i<8;i++)a[7*8+i]=tab_rain[i];zhen(a,v);for(i=1;i<8;i++){move(a,2,0,1);for(j=0;j<8;j++)a[7*8+j]=tab_rain[i*8+j];zhen(a,v);}while(num--){ for(i=0;i<8;i++){move(a,2,0,1);for(j=0;j<8;j++)a[j+7*8]=tab_rain[i*8+j];zhen(a,v);} }}}void LED(){char i;uchar p=0x01;for(i=0;i<8;i++){P2=p;delay1(1);P0=0xff;delay1(1);p<=1;}P2=0;while(!out){key_out_scan();key_amenu_scan();P3=0xff;delay1(amenu*30);P3=0;delay1((6-amenu)*30);}P3=0;}void pc1(char num,char v){uchar a[64]={0};char i,j;while(num--){for(i=1;i<8;i++)a[i]=0xff;zhen(a,v);for(i=1;i<8;i++){move(a,2,1,1);for(j=0;j<8;j++)a[j]=0xff;zhen(a,v);}for(i=0;i<8;i++){if(num==0&&i==7)continue;move(a,2,1,1);zhen(a,v);}}for(i=0;i<7;i++){move(a,2,0,1);zhen(a,v+5);}}void link(char v){/****************************旋转衔接******************************/char i,j,k;uchar a[64]={0};for(i=0;i<64;i++)a[i]=0x80;zhen(a,3);for(i=0;i<8;i++){for(j=0;j<8;j++){if(i<7)a[j*8+7-i]&=0x7f;a[j*8+i]|=(0x80>>i);}zhen(a,v);}for(i=0;i<6;i++){for(j=0;j<8;j++)for(k=0;k<8;k++)a[j*8+k]=tab_xuanzhuantiao[(i+8)*8+k];zhen(a,3);}}void leitu(uchar *b,char num,char v)//V>1{uchar a[64]={0},p;char i,j,k,m;for(m=0;m =8)a[tab10[i-8]]^=(0x01 1&&k<6&&j>1&&j<6&&kind!=1)a[k+j*8]=tab_xuanzhuantiao[i*8+k]&0xc3;elsea[k+j*8]=tab_xuanzhuantiao[i*8+k];}}zhen(a,v);}}}void qumianxuanzhuan(char kind,char num,char v)//曲面旋转{uchar a[64]={0};char i,j,k;for(j=0;j<8;j++)for(i=0;i<8;i++)a[i+j*8]=tab_xuanzhuantiao[i];zhen(a,v);if(kind==1){for(j=1;j<8;j++)//顺时针初形变换{for(i=0;i =0;i--){move(a,2,1,1);for(j=0;j<8;j++)a[j]=tab_xuanzhuantiao[i*8+j];zhen(a,v);}}while(num--)//主循环{if(kind==1)for(i=0;i<14;i++){move(a,2,1,1);for(j=0;j<8;j++)a[j]=tab_xuanzhuantiao[i*8+j];zhen(a,v);}elsefor(i=13;i>=0;i--){move(a,2,1,1); for(j=0;j<8;j++)a[j]=tab_xuanzhuantiao[i*8+j];zhen(a,v);}}if(kind==1)for(j=0;j<7;j++){for(i=7;i>=j;i--){if(i>j)for(k=0;k<8;k++)a[k+i*8]=tab_xuanzhuantiao[(14-i+j)*8+k];elsefor(k=0;k<8;k++)a[k+i*8]=tab_xuanzhuantiao[k];}zhen(a,v);}elsefor(j=1;j<7;j++){for(i=7;i>=j;i--){if(i>j)for(k=0;k<8;k++)a[k+i*8]=tab_xuanzhuantiao[(i-j)*8+k];elsefor(k=0;k<8;k++)a[k+i*8]=tab_xuanzhuantiao[k];}zhen(a,v);}}void qumianxuanzhuan2(char num,char v)//曲面旋转{uchar a[64]={0};char i,j,k;for(j=0;j<8;j++)for(i=0;i<8;i++)a[i+j*8]=tab_xuanzhuantiao[i];zhen(a,v);for(j=1;j<8;j++){for(i=0;i =0;i--){for(j=0;j<8;j++){a[j*8+i]=0xff;a[j*8+i+1]=0;}zhen(a,v);}clc();}void zimu(uchar *x,char n,char v,int num)//滚动字幕,num表示循环次数,v表示滚动速度,n字符个数{char i,j,k;uchar xdata a[64]={0},temp0[8],temp1[8],temp2[8],temp3[8],temp[8];for(i=0;i<8;i++){temp0[i]=0;temp1[i]=0;temp2[i]=0;temp3[i]=0;}while(num--)for(j=0;j =0;k--)//读取数据temp[7-k]=x[j*8+k];for(k=0;k<8;k++)//移动8位{for(i=0;i<8;i++){temp0[i]=(temp0[i]<1)|(temp1[i]>>7);temp1[i]=(temp1[i]<1)|(temp2[i]>>7);temp2[i]=(temp2[i]<1)|(temp3[i]>>7);temp3[i]=(temp3[i]<1)|(temp[i]>>7);temp[i]<=1;fun1(a+i*8,temp0[i],temp1[i],temp2[i],temp3[i]);}zhen(a,v);}}}void hy(uchar *tab,char v){uchar a[64]={0};char i,j;for(i=0;i<8;i++)a[i*8]=tab[i];zhen(a,v);for(i=1;i<8;i++){for(j=0;j<8;j++)a[i+j*8]=a[i-1+j*8];zhen(a,v);} for(i=0;i<7;i++){for(j=0;j<8;j++)a[i+j*8]=0;zhen(a,v);}zhen(a,23); }void W_side(uchar *tab,char num,char v){uchar a[64]={0};int i,j;for(j=0;j 0;k--){if(m==1&&k==6){;}elseb[(k+1)*8+7-i]&=(~p);b[k*8+7-i]|=(0x01 0;j--){for(i=7;i>0;i--){b[i]=b[i-1];}zhen(b,5); }clc();}void water1(char x,char y,char v){uchar a[64]={0};char i,r;a[7*8+y]=0x01 =0;i--){a[i*8+y]=a[(i+1)*8+y];a[(i+1)*8+y]=0;zhen(a,v);}//下落for(r=0;r<7;r++){for(i=0;i<8;i++)a[i]=tab_water[r*16+7-y+i]>>(7-x);zhen(a,v+1);}//扩散}void water2(char x1,char y1,char x2,char y2,char v){uchar a[64]={0};char i,r;a[7*8+y1]=0x01 =0;i--){move(a,2,0,1);if(i==5){a[7*8+y2]=0x01 >(7-x2); if(r<7)for(i=0;i<8;i++)a[i]|=(tab_water[r*16+7-y1+i]>>(7-x1));if(r==1)a[y2]|=0x01 =0;i--){move(a,2,0,1);if(i==5)//第二点a[7*8+y2]=0x01 =4)for(i=0;i<8;i++)a[i]=tab_water[(r-4)*16+7-y3+i]>>(7-x3);if(r<9&&r>=2)for(i=0;i<8;i++)a[i]|=tab_water[(r-2)*16+7-y2+i]>>(7-x2); if(r<7)for(i=0;i<8;i++)a[i]|=(tab_water[r*16+7-y1+i]>>(7-x1));if(r==1)a[y2]|=0x01 =0;i--){a[i]=0x0155)a[i]=0xff;elsea[i]=0;}*/zhen(a,20);for(i=7;i>=0;i--)//1for(j=6;j>=0;j--){a[i+j*8]=0xff;a[i+(j+1)*8]=0;zhen(a,v);}zhen(a,27);for(i=7;i>=0;i--)//2for(j=1;j<8;j++){a[i+j*8]=0xff;a[i+(j-1)*8]=0;zhen(a,v);}zhen(a,27);for(i=7;i>=0;i--)//3for(k=6;k>=0;k--){for(j=0;j<8;j++){if(k==0)a[j+k*8]|=(0x80>>(7-i));elsea[j+k*8]=(0x80>>(7-i));a[j+(k+1)*8]^=(0x80>>(7-i));}zhen(a,v);}zhen(a,27);for(i=7;i>=0;i--)//4for(k=1;k<8;k++){for(j=0;j<8;j++){if(k==7)a[j+k*8]|=(0x80>>(7-i));elsea[j+k*8]=(0x80>>(7-i));a[j+(k-1)*8]^=(0x80>>(7-i));}zhen(a,v);}zhen(a,27);}void donghua(uchar *tab,uchar num,uchar n,char v){char i;while(n--){for(i=0;i =0;j--){for(i=7;i>=0;i--){a[i*8+3]=szfc_table[j+i];a[i*8+4]=szfc_table[j+i];}zhen(a,v);}} void shandian(char v){char i,j;uchar a[64];for(i=0;i<64;i++)a[i]=tab_shandian[64*21+i];for(i=0;i<22;i++)zhen(tab_shandian+64*i,v);for(i=0;i<22;i++){for(j=0;j<64;j++)a[j]=a[j]&(~tab_shandian[64*i+j]);zhen(a,v);}}void cut(){uchar a[64]={0};char i;for(i=0;i<4;i++){a[i*8+7]=0xff;a[(7-i)*8+7]=0xff;zhen(a,8);}zhen(a,30);for(i=3;i>=0;i--){a[i*8+7]=0;a[(7-i)*8+7]=0;zhen(a,8);}}void shensuo(uchar v){char i,j;uchar a[64]={0};for(i=0;i<64;i++)a[i]=0xff;for(i=0;i<7;i++){move(a,0,0,1);zhen(a,v);}for(i=0;i<7;i++){move(a,0,1,1);for(j=0;j<64;j++)a[j]|=0x01;zhen(a,v);}for(i=0;i<7;i++){move(a,2,0,1);zhen(a,v);}for(i=0;i<7;i++){move(a,2,1,1);for(j=0;j<8;j++)a[j]|=0xff;zhen(a,v);}for(i=7;i>0;i--){for(j=0;j<8;j++)a[j*8+i]=0;zhen(a,v);}for(i=1;i<8;i++){for(j=0;j<8;j++)a[j*8+i]|=0xff;zhen(a,v);}}void linkpc1(char v){uchar i,a[64]={0};for(i=0;i<7;i++)a[7*8+i]=0xff;for(i=0;i<8;i++){move(a,2,0,1);zhen(a,v);}}void link00(){uchar a[64]={0};char i;for(i=10;i>7;i--){zhen(bianxing_table+i*64,70);}produce_cube(a,6);move(a,1,1,1);move(a,0,1,1);zhen(a,110);produce_cube(a,8);zhen(a,110);}void link_jb0(char v){uchar a[64]={0};char i;for(i=0;i<64;i++){a[i]=0x80;zhen(a,v);}}int STC_ADC(){uchar i;ADC_RES=0;ADC_RESL=0;ADC_CONTR=0x88;i=3;while(i--);while(1) {if(ADC_CONTR&0x10) break;}ADC_CONTR=0x80;return(ADC_RESL+ADC_RES<2);}short sqrt_16( unsigned long M) {unsigned int N,i;unsigned long tmp,ttp; if(M==0) return 0;N=0;tmp=(M>>30); M<=2;if(tmp>1) {N++; tmp-=N;}for(i=15;i>0;i--) {N<=1; tmp<=2;tmp+=(M>>30); ttp=N;ttp=(ttp<1)+1;M<=2;if(tmp>=ttp) {tmp-=ttp;N++;} }return N;}void FFT(){int xdata i,bb,j,k,p;int max,a[6];int xdata TR,TI,temp;for(i=0; i<64;i++){Real[BRTable[i]]=STC_ADC();Image[i]=0;}for(i=1;i<=6;i++) { bb=1;bb<=(i-1); for(j=0;j<=bb-1;j++) { p=1;p<=(6-i); p=p*j;for(k=j;k<64;k=k+2*bb) { key_amenu_scan(); key_out_scan();TR = Real[k]; TI = Image[k];temp=Real[k+bb];Real[k]=Real[k]+((Real[k+bb]*cos_tabb[p])>>7)+((Image[k+bb]*sin_tabb[p])>>7);Image[k]=Image[k]-((Real[k+bb]*sin_tabb[p])>>7)+((Image[k+bb]*cos_tabb[p])>>7);Real[k+bb]=TR-((Real[k+bb]*cos_tabb[p])>>7)-((Image[k+bb]*sin_tabb[p])>>7);Image[k+bb]=TI+((temp*sin_tabb[p])>>7)-((Image[k+bb]*cos_tabb[p])>>7); Real[k]>>=1; Image[k]>>=1; Real[k+bb]>>=1; Image[k+bb]>>=1; } }}max=0;for(i=0;i<6;i++){a[i]=sqrt_16((Real[i+1]*Real[i+1]+Image[i+1]*Image[i+1])>>1);if(a[i]<2 ) a[i]=0;elsea[i]-=2;if(max7){max/=7;for(i=0;i<6;i++){a[i]/=max;}}for(i=0;i<6;i++)c[i]=a[i];}void disp() interrupt 1{TR0=0;TH0=(65536-2500)/256;TL0=(65536-2500)%256;if(num>=(amenu-1))num=0;elsenum++;if(b[num] c[num])b[num]--;if(b[num]>8)b[num]=8;if(amenu==1)fun(table1+num*8);else if(amenu==2)fun(table2+num*8);else if(amenu==3)fun(table3+num*8);else if(amenu==4)fun(table4+num*8);else if(amenu==5)fun(table5+num*8);elsefun(table6+num*8); P3=tuku1[b[num]];TR0=1;}/**********初始化函数*****************/void init(){/***********I/O口初始化*************/P1M1=1; //p1.0口高阻输入P1ASF=1; P3M0=0xff; //P3口推挽输出P2M0=0xff;P0M0=0xff;P4SW = 0x31;TMOD=0x01;TH0=(65536-4000)/256; TL0=(65536-4000)%256;EA=1; ET0=1; TR0=0; menu=0;out=0;amenu=0;num=0;}/*************主函数******************/void main(){int i,j;char go;delay(800);init(); //初始化函数////////////////////////呼吸灯P2=0xff;P0=0;P2=0x80;P3=1;while(!menu){for(i=0;i<400;i++){key_menu_scan();if(menu)break;P0=0x80;delay1(i);P0=0;delay1(400-i);if(i<200){j=2;while(j--){P0=0x80;delay1(i);P0=0;delay1(400-i);}}}for(i=0;i<401;i++){if(menu)break; key_menu_scan();P0=0x80;delay1(400-i);P0=0;delay1(i);if(i>200){j=2;while(j--){P0=0x80;delay1(400-i);P0=0;delay1(i);}}}}P3M0=0x00;///////////////////////////开机扫描turn_on(10);H_scan(20);V_scan(20);W_scan(20);/////////////////主菜单选项while(1){hy(number+37*8,2);while(!amenu){W_side(number+(36+menu)*8,1,45);}switch(menu){case 1://音谱显示delay(400);while(!out){TR0=1;FFT();} TR0=0;break;case 2://动画显示delay(400);amenu=0;//menu=1;go=1;cut();while(go){for(i=0;i<10;i++)hy(number+27*8+i*8,3);if(out)go=1;elsego=0;}go=1;while(go){zimu(number,19,12,1);if(out)go=1;elsego=0;}go=1;while(go){fn(4);if(out)go=1;elsego=0;}go=1;while(go){out=0;flash0(2);if(out)go=1;elsego=0;}go=1;while(go){linkpc1(10);pc1(4,3);if(out)go=1;elsego=0;}go=1;while(go){leitu(yc_table,5,2); if(out)go=1;elsego=0;}go=1;while(go){denghuo(3);if(out==1)go=1;elsego=0;}go=1;while(go){water1(1,2,10);water1(2,4,10);water1(4,3,10);water1(7,1,10);water1(5,6,10); water2(0,2,7,1,9);water2(2,4,7,7,9);water2(4,7,7,1,9);water2(3,6,7,7,9);water2(4,1,6,6,9);water2(7,3,1,2,9);water3(0,4,7,4,5,1,9);water3(7,7,0,0,0,7,9);water3(0,6,6,6,5,1,9);water3(6,7,0,0,2,2,9);water3(3,3,6,6,2,2,9);if(out)go=1;elsego=0;}go=1;while(go){clc();link_pingmian1(1);pingmian1(8,3);if(out)go=1;elsego=0;}go=1;while(go){for(i=0;i<7;i++)print(tab_print+i*8,1);for(i=7;i<11;i++)print(tab_print+i*8,0);if(out)go=1;elsego=0;}go=1;while(go){clc();link_jb0(1);jb0(10,3);if(out)go=1;elsego=0;}go=1;while(go){yinchu(yc_table,5,9);if(out)go=1;elsego=0;}go=1;while(go){clc();link_jb0(1);jb0(10,3);if(out)go=1;elsego=0;}go=1;while(go){link(9);xuanzhuantiao(1,8,4);xuanzhuantiao(0,8,4);if(out)go=1;elsego=0;}go=1;while(go){xuanzhuantiao2(3,3);if(out)go=1;elsego=0;}go=1;while(go){qumianxuanzhuan(1,10,4);qumianxuanzhuan(0,10,4);if(out)go=1;elsego=0;}go=1;while(go){qumianxuanzhuan2(13,4);if(out)go=1;elsego=0;}go=1;while(go){xuanzhuantiao(1,4,4);xuanzhuantiao(1,3,5);xuanzhuantiao(1,2,6);xuanzhuantiao(1,1,7);if(out)go=1;elsego=0;}go=1;while(go){donghua(bianxing_table,11,1,24);xzcube();donghua(y_table,6,5,5);donghua(x_table,6,5,5);donghua(z_table,6,5,5);link00();if(out)go=1;elsego=0;}go=1;while(go){shensuo(5);if(out)go=1;elsego=0;}go=1;while(go){donghua(sin_cube_table,14,22,5);if(out)go=1;elsego=0;}go=1;while(go){for(i=0;i<3;i++)for(j=0;j<3;j++)cube(0,j,6);for(i=0;i<3;i++)for(j=0;j<3;j++)cube(1,j,6);if(out)go=1;elsego=0;}go=1; while(go){donghua(hart_table,2,10,32);if(out)go=1;elsego=0;}go=1;while(go){for(i=2;i>0;i--)shandian(i);if(out)go=1;elsego=0;}go=1;while(go){szfc0(10);if(out)go=1;elsego=0;}go=1;while(go){rain(1,10,9);rain(0,10,9);if(out)go=1;elsego=0;}break;case 3://夜灯模式delay(200);LED();break;}out=0;amenu=0;menu=1;}}
stc51单片机的光立方c语 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)