本文主要是介绍鸿蒙开发板Hi3861模拟SPI驱动12864LCD_ST7920_基于code-2.0-CANARY,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
鸿蒙开发板Hi3861模拟SPI驱动12864LCD_ST7920源码.rar-C文档类资源-CSDN下载鸿蒙开发板Hi3861模拟SPI驱动12864LCD_ST7920源码.rar博文链接:https更多下载资源、学习资料请访问CSDN下载频道.https://download.csdn.net/download/txwtech/86268657
核心代码:
void WriteCommand(unsigned char CMD) //c
{// IoTGpioSetOutputVal(lcd_rs,IOT_GPIO_VALUE0);//txwtechunsigned char H_data,L_data;H_data = CMD;H_data &= 0xf0; //屏蔽低4位的数据L_data = CMD; //xxxx0000格式L_data &= 0x0f; //屏蔽高4位的数据L_data <<= 4; //xxxx0000格式WriteByte(0xf8); //RS=0,写入的是指令;WriteByte(H_data);WriteByte(L_data);// IoTGpioSetOutputVal(lcd_rs,IOT_GPIO_VALUE0);//txwtech
}
void delay_ms(unsigned int ms)
{osDelay((ms*5)/10);
}
void Initialise()
{IoTGpioSetDir(lcd_rs,IOT_GPIO_DIR_OUT); //IoTGpioSetDir(lcd_sclk,IOT_GPIO_DIR_OUT);IoTGpioSetDir(lcd_sid,IOT_GPIO_DIR_OUT); ////digitalWrite(latchPin, LOW);IoTGpioSetOutputVal(lcd_rs,IOT_GPIO_VALUE0);//delayns();delay_ms(10);WriteCommand(0x30); //功能设定控制字WriteCommand(0x0c); //显示开关控制字WriteCommand(0x01); //清除屏幕控制字WriteCommand(0x06); //进入设定点控制字
}void CLEAR(void)
{ /* WriteCommand(0x01);//清除显示WriteCommand(0x34);//WriteCommand(0x30);// */WriteCommand(0x30);//WriteCommand(0x01);//清除显示}
void DisplayString(unsigned char X,unsigned char Y,unsigned char *ptr,int dat)
{int i;switch(X){case 0: Y|=0x80;break;case 1: Y|=0x90;break;case 2: Y|=0x88;break;case 3: Y|=0x98;break;default: break;}WriteCommand(Y); // 定位显示起始地址for(i=0;i<dat;i++){ WriteData(ptr[i]);//显示汉字时注意码值,连续两个码表示一个汉字}
}
static void st7920_12864Task(void *arg)
{(void) arg;IoTGpioInit(lcd_rs); IoTGpioInit(lcd_sclk); IoTGpioInit(lcd_sid); Initialise();delay_ms(100);while (1){CLEAR();delay_ms(100);DrawFullScreen(nPianWoFish); delay_ms(1000);CLEAR();delay_ms(100);DrawFullScreen(hmosLogo);delay_ms(1000);CLEAR();delay_ms(100);DisplayString(0,2,show0,AR_SIZE(show0));//第一行第三格开始DisplayString(1,2,show_hm,AR_SIZE(show_hm));//第一行第三格开始DisplayString(2,1,show_we_chat,AR_SIZE(show_we_chat));//第一行第三格开始DisplayString(3,2,show_nick,AR_SIZE(show_nick));//delay_ms(1000);// CLEAR();}// }}
static void GpioEntry(void)
{osThreadAttr_t attr={0};attr.name="st7920_12864Task";attr.stack_size=4096;attr.priority=osPriorityNormal;if(osThreadNew(st7920_12864Task,NULL,&attr)==NULL){printf("[GpioEntry] create st7920_12864Task failed!\n");}
}
SYS_RUN(st7920_12864Task);
//SYS_RUN(GpioEntry);
头文件:
void Initialise(void);
void delayns(void);void WriteByte(unsigned char dat);
void WriteCommand(unsigned char CMD);
void WriteData(unsigned char CMD);void CLEAR(void);
void DisplayString(unsigned char X,unsigned char Y,unsigned char *ptr,int dat);
void DisplaySig(int M,int N,int sig);
void DrawFullScreen(unsigned char *p);int delaytime;
int DEFAULTTIME;static const int latchPin = 8; //rs, arduino//---hi3861 10---lcd pin4
static const int clockPin = 3; //rw/sid/sda arduino//---hi3861 9---lcd pin5
static const int dataPin = 9; //clk arduino//---hi3861 8---lcd lcd pin6
static const unsigned char logo0[]={ //笑脸0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xFE,0x00,0x7F,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xF0,0x00,0x0F,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x80,0x00,0x01,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x00,0x00,0x00,0x7C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF8,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xF0,0x00,0x00,0x00,0x0F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xE0,0x00,0x00,0x00,0x07,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xC0,0x00,0x00,0x00,0x01,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x80,0x00,0x00,0x00,0x00,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x00,0x00,0x00,0x00,0x00,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1E,0x00,0x00,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x00,0x00,0x00,0x00,0x00,0x3C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x00,0x40,0x00,0x00,0x80,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x78,0x03,0xF8,0x00,0x07,0xF0,0x1E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x07,0xFE,0x00,0x0F,0xFC,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0x1F,0xBF,0x00,0x3F,0x7E,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0x3E,0x0F,0x80,0x7C,0x1F,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0x7C,0x07,0xC0,0xF8,0x0F,0x87,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xE0,0xF8,0x01,0xE1,0xF0,0x03,0xC3,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0xF0,0x01,0xE1,0xE0,0x03,0xC3,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0xE0,0x00,0xE1,0xC0,0x01,0xC3,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xE0,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0x00,0x0C,0x00,0x0C,0x00,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x00,0x1E,0x00,0x1E,0x00,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x78,0x00,0x1F,0x00,0x3E,0x00,0x1E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x00,0x07,0x80,0xF8,0x00,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x00,0x03,0xE1,0xF0,0x00,0x3C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1E,0x00,0x01,0xFF,0xE0,0x00,0x78,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x00,0x00,0xFF,0x80,0x00,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x3F,0x00,0x00,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x80,0x00,0x00,0x00,0x01,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xE0,0x00,0x00,0x00,0x07,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xF0,0x00,0x00,0x00,0x0F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF8,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x00,0x00,0x00,0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x80,0x00,0x01,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xE0,0x00,0x07,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xFE,0x00,0x3F,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
};
const unsigned char ascii[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //
0x00,0x00,0x70,0xF8,0xF8,0x70,0x00,0x00,0x00,0x00,0x00,0x0D,0x0D,0x00,0x00,0x00, //!
0x00,0x38,0x38,0x00,0x00,0x38,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //"
0x00,0x20,0xF8,0xF8,0x20,0xF8,0xF8,0x20,0x00,0x02,0x0F,0x0F,0x02,0x0F,0x0F,0x02, //#
0x00,0x30,0x78,0xCE,0x8E,0x18,0x10,0x00,0x00,0x04,0x0C,0x38,0x39,0x0F,0x06,0x00, //$
0x18,0x3C,0x24,0xBC,0xD8,0x60,0x30,0x00,0x00,0x06,0x03,0x0D,0x1E,0x12,0x1E,0x0C, //%
0x00,0xB0,0xF8,0x48,0x78,0x30,0x00,0x00,0x00,0x07,0x0F,0x08,0x09,0x07,0x0F,0x09, //&
0x00,0x00,0x00,0x38,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //'
0x00,0x00,0xC0,0xF0,0x38,0x08,0x00,0x00,0x00,0x00,0x07,0x1F,0x38,0x20,0x00,0x00, //(
0x00,0x00,0x08,0x38,0xF0,0xC0,0x00,0x00,0x00,0x00,0x20,0x38,0x1F,0x07,0x00,0x00, //)
0x00,0x80,0xA0,0xE0,0xC0,0xE0,0xA0,0x80,0x00,0x00,0x02,0x03,0x01,0x03,0x02,0x00, //*
0x00,0x80,0x80,0xE0,0xE0,0x80,0x80,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00, //+
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2C,0x3C,0x1C,0x00,0x00, //,
0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //-
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x0C,0x00,0x00, //.
0x00,0x00,0x00,0x80,0xE0,0x78,0x18,0x00,0x00,0x18,0x1E,0x07,0x01,0x00,0x00,0x00, ///
0x00,0x00,0xF0,0xF8,0x08,0x68,0xF8,0xF0,0x00,0x00,0x07,0x0F,0x0B,0x08,0x0F,0x07, //0
0x00,0x20,0x20,0x30,0xF8,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x0F,0x00,0x00, //1
0x00,0x30,0x38,0x08,0x88,0xF8,0x70,0x00,0x00,0x0C,0x0E,0x0B,0x09,0x08,0x08,0x00, //2
0x00,0x30,0x38,0x88,0x88,0xF8,0x70,0x00,0x00,0x06,0x0E,0x08,0x08,0x0F,0x07,0x00, //3
0x00,0x00,0xF8,0xF8,0x00,0xE0,0xE0,0x00,0x00,0x03,0x03,0x02,0x02,0x0F,0x0F,0x02, //4
0x00,0xF8,0xF8,0x88,0x88,0x88,0x08,0x00,0x00,0x08,0x08,0x08,0x0C,0x07,0x03,0x00, //5
0x00,0xC0,0xE0,0x78,0x58,0xC8,0x80,0x00,0x00,0x07,0x0F,0x08,0x08,0x0F,0x07,0x00, //6
0x00,0x08,0x08,0x88,0xE8,0x78,0x18,0x00,0x00,0x00,0x0E,0x0F,0x01,0x00,0x00,0x00, //7
0x00,0x70,0xF8,0xC8,0x88,0xF8,0x70,0x00,0x00,0x07,0x0F,0x08,0x09,0x0F,0x07,0x00, //8
0x00,0xF0,0xF8,0x08,0x08,0xF8,0xF0,0x00,0x00,0x00,0x09,0x0D,0x0F,0x03,0x01,0x00, //9
0x00,0x00,0x00,0x60,0x60,0x60,0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x0C,0x00,0x00, //:
0x00,0x00,0x00,0x60,0x60,0x60,0x00,0x00,0x00,0x00,0x00,0x2C,0x3C,0x1C,0x00,0x00, //;
0x00,0x80,0xC0,0x60,0x30,0x18,0x08,0x00,0x00,0x00,0x01,0x03,0x06,0x0C,0x08,0x00, //<
0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x00, //=
0x00,0x08,0x18,0x30,0x60,0xC0,0x80,0x00,0x00,0x08,0x0C,0x06,0x03,0x01,0x00,0x00, //>
0x00,0x30,0x38,0x88,0xC8,0x78,0x30,0x00,0x00,0x00,0x00,0x0D,0x0D,0x00,0x00,0x00, //?
0xF0,0xF8,0x08,0x88,0xC8,0x48,0xF8,0xF0,0x07,0x0F,0x08,0x09,0x0B,0x0A,0x0B,0x0B, //@
0x00,0xE0,0xF0,0x18,0x18,0xF0,0xE0,0x00,0x00,0x0F,0x0F,0x01,0x01,0x0F,0x0F,0x00, //A
0x00,0xF8,0xF8,0x88,0x88,0xF8,0x70,0x00,0x00,0x0F,0x0F,0x08,0x08,0x0F,0x07,0x00, //B
0x00,0xF0,0xF8,0x08,0x08,0x38,0x30,0x00,0x00,0x07,0x0F,0x08,0x08,0x0E,0x06,0x00, //C
0x00,0xF8,0xF8,0x08,0x18,0xF0,0xE0,0x00,0x00,0x0F,0x0F,0x08,0x0C,0x07,0x03,0x00, //D
0x00,0xF8,0xF8,0x88,0x88,0x88,0x08,0x00,0x00,0x0F,0x0F,0x08,0x08,0x08,0x08,0x00, //E
0x00,0xF8,0xF8,0x88,0x88,0x88,0x08,0x00,0x00,0x0F,0x0F,0x00,0x00,0x00,0x00,0x00, //F
0x00,0xF0,0xF8,0x08,0x08,0x38,0x30,0x00,0x00,0x07,0x0F,0x08,0x09,0x0F,0x0F,0x00, //G
0x00,0xF8,0xF8,0x80,0x80,0xF8,0xF8,0x00,0x00,0x0F,0x0F,0x00,0x00,0x0F,0x0F,0x00, //H
0x00,0x00,0x08,0xF8,0xF8,0x08,0x00,0x00,0x00,0x00,0x08,0x0F,0x0F,0x08,0x00,0x00, //I
0x00,0x00,0x00,0x00,0x00,0xF8,0xF8,0x00,0x00,0x06,0x0E,0x08,0x08,0x0F,0x07,0x00, //J
0x00,0xF8,0xF8,0x80,0xE0,0x78,0x18,0x00,0x00,0x0F,0x0F,0x00,0x03,0x0F,0x0C,0x00, //K
0x00,0xF8,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x0F,0x08,0x08,0x08,0x08,0x00, //L
0x00,0xF8,0xF8,0x20,0xC0,0x20,0xF8,0xF8,0x00,0x0F,0x0F,0x00,0x01,0x00,0x0F,0x0F, //M
0x00,0xF8,0xF8,0x60,0xC0,0x80,0xF8,0xF8,0x00,0x0F,0x0F,0x00,0x00,0x01,0x0F,0x0F, //N
0x00,0xF0,0xF8,0x08,0x08,0xF8,0xF0,0x00,0x00,0x07,0x0F,0x08,0x08,0x0F,0x07,0x00, //O
0x00,0xF8,0xF8,0x88,0x88,0xF8,0x70,0x00,0x00,0x0F,0x0F,0x00,0x00,0x00,0x00,0x00, //P
0x00,0xF0,0xF8,0x08,0x08,0xF8,0xF0,0x00,0x00,0x07,0x0F,0x08,0x18,0x3F,0x27,0x00, //Q
0x00,0xF8,0xF8,0x88,0x88,0xF8,0x70,0x00,0x00,0x0F,0x0F,0x00,0x01,0x0F,0x0E,0x00, //R
0x00,0x30,0x78,0xC8,0x88,0x18,0x10,0x00,0x00,0x04,0x0C,0x08,0x09,0x0F,0x06,0x00, //S
0x00,0x08,0x08,0xF8,0xF8,0x08,0x08,0x00,0x00,0x00,0x00,0x0F,0x0F,0x00,0x00,0x00, //T
0x00,0xF8,0xF8,0x00,0x00,0xF8,0xF8,0x00,0x00,0x07,0x0F,0x08,0x08,0x0F,0x07,0x00, //U
0x00,0xF8,0xF8,0x00,0x00,0xF8,0xF8,0x00,0x00,0x03,0x07,0x0C,0x0C,0x07,0x03,0x00, //V
0x00,0xF8,0xF8,0x00,0xC0,0x00,0xF8,0xF8,0x00,0x01,0x0F,0x0E,0x01,0x0E,0x0F,0x01, //W
0x00,0x18,0x38,0xE0,0xC0,0x38,0x18,0x00,0x00,0x0E,0x0F,0x00,0x01,0x0F,0x0E,0x00, //X
0x00,0x78,0xF8,0x80,0x80,0xF8,0x78,0x00,0x00,0x00,0x00,0x0F,0x0F,0x00,0x00,0x00, //Y
0x00,0x08,0x08,0x88,0xC8,0x78,0x38,0x00,0x00,0x0E,0x0F,0x09,0x08,0x08,0x08,0x00, //Z
0x00,0x00,0xF8,0xF8,0x08,0x08,0x00,0x00,0x00,0x00,0x7F,0x7F,0x40,0x40,0x00,0x00, //[
0x00,0x18,0x78,0xE0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x07,0x1E,0x18,0x00, //
0x00,0x00,0x08,0x08,0xF8,0xF8,0x00,0x00,0x00,0x00,0x40,0x40,0x7F,0x7F,0x00,0x00, //]
0x00,0x08,0x0C,0x06,0x06,0x0C,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //^
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40, //_
0x00,0x00,0x02,0x06,0x0E,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //`
0x00,0x00,0x20,0x20,0x20,0xE0,0xC0,0x00,0x00,0x06,0x0F,0x09,0x09,0x0F,0x0F,0x00, //a
0x00,0xF8,0xF8,0x20,0x20,0xE0,0xC0,0x00,0x00,0x0F,0x0F,0x08,0x08,0x0F,0x07,0x00, //b
0x00,0xC0,0xE0,0x20,0x20,0x60,0x40,0x00,0x00,0x07,0x0F,0x08,0x08,0x0C,0x04,0x00, //c
0x00,0xC0,0xE0,0x20,0x20,0xF8,0xF8,0x00,0x00,0x07,0x0F,0x08,0x08,0x0F,0x0F,0x00, //d
0x00,0xC0,0xE0,0x20,0x20,0xE0,0xC0,0x00,0x00,0x07,0x0F,0x09,0x09,0x09,0x01,0x00, //e
0x00,0x80,0xF0,0xF8,0x88,0x88,0x88,0x00,0x00,0x00,0x0F,0x0F,0x00,0x00,0x00,0x00, //f
0x00,0xC0,0xE0,0x20,0x20,0xE0,0xE0,0x00,0x00,0x47,0x4F,0x48,0x48,0x7F,0x3F,0x00, //g
0x00,0xF8,0xF8,0x20,0x20,0xE0,0xC0,0x00,0x00,0x0F,0x0F,0x00,0x00,0x0F,0x0F,0x00, //h
0x00,0x20,0x20,0xEC,0xEC,0x00,0x00,0x00,0x00,0x08,0x08,0x0F,0x0F,0x08,0x08,0x00, //i
0x00,0x00,0x20,0x20,0xEC,0xEC,0x00,0x00,0x00,0x40,0x40,0x40,0x7F,0x3F,0x00,0x00, //j
0x00,0xF8,0xF8,0x00,0x80,0xE0,0x60,0x00,0x00,0x0F,0x0F,0x01,0x03,0x0E,0x0C,0x00, //k
0x00,0x08,0x08,0xF8,0xF8,0x00,0x00,0x00,0x00,0x08,0x08,0x0F,0x0F,0x08,0x08,0x00, //l
0x00,0xE0,0xE0,0x20,0xE0,0x20,0xE0,0xC0,0x00,0x0F,0x0F,0x00,0x07,0x00,0x0F,0x0F, //m
0x00,0xE0,0xE0,0x20,0x20,0xE0,0xC0,0x00,0x00,0x0F,0x0F,0x00,0x00,0x0F,0x0F,0x00, //n
0x00,0xC0,0xE0,0x20,0x20,0xE0,0xC0,0x00,0x00,0x07,0x0F,0x08,0x08,0x0F,0x07,0x00, //o
0x00,0xE0,0xE0,0x20,0x20,0xE0,0xC0,0x00,0x00,0x7F,0x7F,0x08,0x08,0x0F,0x07,0x00, //p
0x00,0xC0,0xE0,0x20,0x20,0xE0,0xE0,0x00,0x00,0x07,0x0F,0x08,0x08,0x7F,0x7F,0x00, //q
0x00,0xE0,0xE0,0x80,0x40,0x60,0x60,0x00,0x00,0x0F,0x0F,0x00,0x00,0x00,0x00,0x00, //r
0x00,0xC0,0xE0,0x20,0x20,0x20,0x20,0x00,0x00,0x08,0x09,0x09,0x09,0x0F,0x06,0x00, //s
0x00,0x20,0xF8,0xF8,0x20,0x20,0x20,0x00,0x00,0x00,0x07,0x0F,0x08,0x08,0x08,0x00, //t
0x00,0xE0,0xE0,0x00,0x00,0xE0,0xE0,0x00,0x00,0x07,0x0F,0x08,0x08,0x0F,0x0F,0x00, //u
0x00,0xE0,0xE0,0x00,0x00,0xE0,0xE0,0x00,0x00,0x03,0x07,0x0C,0x0C,0x07,0x03,0x00, //v
0x00,0xE0,0xE0,0x00,0xC0,0x00,0xE0,0xE0,0x00,0x03,0x0F,0x0C,0x03,0x0C,0x0F,0x03, //w
0x00,0x60,0xE0,0x80,0x80,0xE0,0x60,0x00,0x00,0x0C,0x0E,0x03,0x03,0x0E,0x0C,0x00, //x
0x00,0xE0,0xE0,0x00,0x00,0xE0,0xE0,0x00,0x40,0x47,0x4F,0x68,0x38,0x1F,0x07,0x00, //y
0x00,0x20,0x20,0x20,0xA0,0xE0,0x60,0x00,0x00,0x0C,0x0E,0x0B,0x09,0x08,0x08,0x00, //z
0x00,0x00,0x80,0xF0,0x78,0x08,0x00,0x00,0x00,0x01,0x03,0x1E,0x3C,0x20,0x00,0x00, //{
0x00,0x00,0x00,0xF8,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x00,0x00,0x00, //|
0x00,0x00,0x08,0x78,0xF0,0x80,0x00,0x00,0x00,0x00,0x20,0x3C,0x1E,0x03,0x01,0x00, //}
0x30,0x18,0x08,0x18,0x30,0x20,0x30,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //~
};//ok image
const unsigned char bmp1[] = {//-- 调入了一幅图像:D:\我的文档\My Pictures\12864-555.bmp -- //-- 宽度 x 高度=128x64 -- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0xC0,0xC0,0xC0,0xC0,0xE0,0x60,0xE0,0xE0,0xE0,0xE0,0x60,0x60,0x60,0x60,0x60,0x60,0x60,0xE0,0xE0,0xE0,0xE0,0xC0,0xC0,0xC0,0xC0,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xE0,0x70,0x38,0x18,0x1C,0x0C,0x0E,0x07,0x03,0x03,0x01,0x81,0xE0,0x78,0x1C,0x0E,0x07,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x07,0x0E,0x1C,0x79,0xE1,0x83,0x03,0x07,0x0E,0x0C,0x1C,0x18,0x38,0x70,0xE0,0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0xC0,0xC0,0xC0,0xC0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xC0,0xC0,0xC0,0xC0,0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xF0,0x78,0x1E,0x07,0x03,0x81,0x80,0xC0,0xC0,0xC0,0xE0,0x60,0x60,0x60,0x70,0xF0,0xFE,0x3F,0x19,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x38,0x31,0x3F,0xFE,0xF0,0x60,0x60,0xE0,0xC0,0xC0,0xC0,0x80,0x81,0x03,0x07,0x1E,0x78,0xF0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0xFC,0xFF,0x7F,0x07,0x0F,0x1F,0x3D,0x79,0x71,0xF0,0xE0,0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0xC0,0xE0,0xF0,0x71,0x79,0x3D,0x1F,0x0F,0xFF,0xFE,0xFC,0x00,0x00,0x00,0x00,0x00,0x80,0xFE,0xFF,0xF9,0x1C,0x0E,0x07,0x03,0x03,0x01,0x01,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,0xFF,0xFF,0x00,0x00,0x00,0x00,0x01,0x01,0x03,0x03,0x07,0x0E,0x1C,0xF9,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x07,0x0F,0x0E,0x9E,0xFC,0xF8,0xF0,0xE0,0xC0,0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xC0,0xE0,0xF0,0xF8,0xF8,0xFC,0x9E,0x0F,0x07,0x03,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xDF,0x38,0x70,0xE0,0xC0,0xC0,0x80,0x80,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,0xFF,0xFF,0x00,0x00,0x00,0x00,0x80,0x80,0xC0,0xC0,0xE0,0x70,0x38,0xDF,0xFF,0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xE0,0xF0,0x78,0x3C,0x1E,0x0F,0x07,0x03,0x01,0x00,0x01,0x01,0x03,0x07,0x0F,0x1E,0x1E,0x0E,0x0F,0x07,0x03,0x01,0x01,0x00,0x01,0x01,0x03,0x07,0x0F,0x1E,0x3C,0x78,0xF0,0xE0,0xC0,0x80,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x0F,0x3C,0x70,0xE0,0xC1,0x81,0x03,0x03,0x03,0x07,0x06,0x06,0x06,0x0E,0x0F,0x7F,0xFC,0x98,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x0C,0x8C,0xFC,0x7F,0x0F,0x06,0x06,0x07,0x03,0x03,0x03,0x81,0xC1,0xE0,0x70,0x3C,0x0F,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x1F,0x3F,0x7C,0xFC,0xFE,0xEF,0xE7,0xE3,0xE1,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE1,0xE3,0xE7,0xEF,0xFE,0x7C,0x3F,0x1F,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x07,0x0E,0x0C,0x1C,0x18,0x38,0x70,0x60,0xE0,0xC0,0xC1,0x87,0x9E,0xB8,0xF0,0xE0,0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xE0,0xF0,0xB8,0xDE,0xC7,0xE1,0x60,0x70,0x38,0x18,0x1C,0x0C,0x0E,0x07,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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,0x01,0x03,0x03,0x03,0x03,0x03,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x03,0x03,0x03,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};const unsigned char star1[] = {
/*-- 调入了一幅图像:C:\Users\txwtech\Desktop\111.bmp --*/
/*-- 宽度x高度=128x64 --*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
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,0xE0,0xF0,0xF0,0xF0,0xE0,0xC0,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,
0xC0,0xC0,0xC0,0xE0,0xF0,0xFC,0xFE,0xFF,0x7F,0x1F,0x0F,0x07,0x0F,0x1F,0x7F,0xFF,
0xFE,0xFC,0xF0,0xE0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,
0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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,0x07,0x1F,0x3F,0xFF,0xFF,0xFF,0xFF,0xE7,0xC7,0x07,
0x07,0x07,0x07,0x07,0x07,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x03,0x07,0x07,0x07,0x07,0x07,0x07,0xC7,0xE7,0xFF,0xFF,0xFF,0xFF,0x3F,0x1F,
0x07,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,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xF0,0xF9,0xFF,0xFF,0x7F,0x3F,0x0F,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x3F,0x7F,0xFF,0xFF,0xF9,0xF0,0xC0,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x1C,0x3E,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3E,0x3E,0x3E,
0x3E,0x3E,0x3E,0x7E,0xFE,0xFC,0xF8,0xF0,0xE0,0x80,0x00,0x00,0x00,0x80,0xE0,0xF0,
0xF8,0xFC,0xFE,0x7E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,
0x3E,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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,0x07,0x0F,0x3F,0x7F,0xFF,0xFE,0xFF,0x7F,0x3F,0x0F,
0x07,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,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};
const unsigned char fish1[]={/*-- 调入了一幅图像:C:\Users\txwtech\Desktop\aa1_副本.bmp --*/
/*-- 宽度x高度=128x64 --*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
0xC0,0xE0,0xF0,0xF8,0xFC,0xFE,0xFE,0x0F,0x07,0x83,0x83,0xC0,0xC0,0xC0,0x60,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,
0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80,0xC0,0xC0,0xC0,0xE0,0xE0,0xE0,
0xE0,0xE0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF0,0x70,0x70,
0x70,0x70,0x30,0x30,0x30,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,0x80,0x80,0x80,0xC0,0xC0,0xF0,0xF8,0xFE,0xFF,0xFF,
0xFF,0xFF,0xFF,0x7F,0x3F,0x3F,0x1F,0x17,0x93,0x9B,0x99,0x19,0x18,0xD8,0xD8,0x98,
0x68,0x68,0xEC,0xCC,0xBC,0xBC,0xEC,0xEC,0xCC,0xBC,0xBC,0xEC,0xEC,0xDC,0xDC,0xFC,
0xFC,0xEC,0xFC,0xFC,0xF4,0xB4,0xF4,0xFC,0xFC,0xDC,0xFC,0xF4,0x7C,0xDC,0xFC,0xFC,
0xFC,0xFE,0x76,0x06,0x03,0x23,0x61,0x65,0x6B,0xEB,0xBB,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0x7F,0x1F,0x0F,0x07,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xE0,0xF0,0x70,0xF8,0xFC,
0x9C,0x9E,0x9E,0x97,0x03,0xE3,0xF1,0xF9,0xFD,0xFE,0xFF,0x1F,0x07,0x03,0x01,0x81,
0xB1,0x60,0xE0,0xEC,0xF8,0xB8,0xF6,0xE6,0xFD,0xFD,0xFF,0xF7,0x7E,0xFE,0xFF,0xFB,
0xBF,0xFE,0xEF,0xFF,0xFD,0xDF,0xFF,0xFF,0xFE,0xEF,0xFB,0xFB,0xFF,0xFF,0xBF,0xBF,
0xBF,0xBF,0xB7,0x1F,0x1F,0x1F,0x1B,0x1F,0x1F,0x1F,0x1D,0x1F,0x1F,0x1F,0x1F,0x1F,
0x1F,0x1F,0x37,0x30,0x30,0x60,0x60,0xC0,0xC6,0xCD,0xBD,0xAD,0xED,0x6F,0x6F,0xEF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF7,0xFC,0xFC,0xFC,0xF8,0xF8,0xF0,0xE0,0xE0,0xC0,
0xC0,0xC0,0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x80,0xF0,0xFC,0x7E,0x3F,0xFB,0xDB,0xCF,0xFE,0x7F,0xF3,
0xFF,0x9F,0xCD,0xE7,0x60,0x1F,0x3F,0x7F,0xFF,0xFF,0xFF,0xE0,0x00,0x00,0x19,0x19,
0x1F,0x1F,0xFF,0xFF,0x7F,0xEF,0xFB,0xFF,0xFE,0xFF,0xFF,0xDF,0xDF,0xCF,0xCF,0xC6,
0xE7,0xE3,0xE3,0xF3,0xFD,0xFD,0xFF,0xFF,0xFF,0xE7,0xC7,0xC3,0xC3,0x81,0x81,0x01,
0x01,0x01,0x01,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,0x01,0x03,0x03,
0x03,0x03,0x07,0x07,0x07,0x07,0x07,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,
0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0E,0x06,0x06,0x0E,0x0E,0x0E,0x0C,0x0C,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xEF,0xEF,0x3F,0x7B,0xF9,0xCF,0xDE,0xFE,0x77,
0xFB,0x9F,0xDF,0xFE,0xFE,0xF3,0x33,0xBA,0xFD,0xFD,0xE3,0xE3,0x72,0xB0,0x90,0xC0,
0xC0,0xC0,0x01,0x03,0x97,0x8F,0x9D,0x19,0x38,0x30,0x70,0x60,0x60,0x60,0xC0,0xC0,
0xC0,0xC0,0xC0,0xC0,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x80,0x80,0x80,0x80,0x80,0x81,0x87,0x9F,0x3F,0x7F,0xFF,0xF9,0xFF,0xCF,0xFE,0x7E,
0xF3,0xFB,0x9F,0xFC,0xFE,0xE7,0xF7,0x3F,0xBD,0xFC,0xEF,0xE7,0x7F,0x3F,0xF9,0xDB,
0xCF,0xFE,0x7F,0xF3,0xF7,0xBF,0xBD,0xFC,0xE6,0xF6,0x33,0xFA,0xFC,0xCC,0xCE,0x66,
0x64,0x60,0x00,0x00,0x01,0x01,0x01,0x21,0xC3,0xE3,0x73,0x36,0x36,0x36,0x3C,0x3C,
0x1C,0xD8,0xD8,0xD8,0xF8,0xD8,0xD0,0xF0,0xF0,0x30,0x60,0xE0,0xC0,0x80,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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,0x03,0x03,0x03,0x07,0x0F,0x1F,0x1F,0xBF,0xBF,0xFF,0xDF,0xDF,0x7F,
0x7F,0x7F,0x7F,0x7F,0xFE,0xFF,0xF7,0xBF,0xBF,0x79,0xFD,0xCF,0xFF,0x7F,0xF3,0xF9,
0x9F,0xDF,0xFC,0xF7,0xF7,0xBF,0x9F,0xFC,0xFF,0xE7,0x7F,0x3F,0x79,0xFB,0x8F,0x1E,
0x3F,0x73,0x63,0x01,0x00,0x00,0x00,0x03,0xFF,0xFF,0xF0,0xE0,0xC0,0x00,0x78,0x30,
0x70,0xE1,0xC1,0xC3,0xC3,0xC3,0xC1,0xC1,0xC1,0xC0,0xD8,0xFC,0xFE,0xFF,0xBF,0xFF,
0xFB,0xFE,0xFE,0xFC,0xBC,0xD8,0xF8,0xF0,0xF0,0xF0,0xF0,0x40,0x40,0xC0,0xC0,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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,0x38,0x3E,0x3F,0x3F,0x1F,0x1F,0x0F,0x07,
0x07,0x03,0x03,0x03,0x01,0x01,0x01,0x01,0x01,0x83,0xC3,0xE3,0xE7,0xF6,0xF6,0xFD,
0x7F,0x7F,0x7C,0x7C,0xFF,0xFF,0xFF,0xFF,0xFE,0x7F,0x77,0x7F,0x7B,0xBF,0xBF,0xF3,
0x72,0x30,0x20,0x60,0x60,0x40,0x40,0xC0,0xC0,0xC1,0xCF,0xDF,0xDF,0xFF,0x7F,0x7E,
0x7C,0x78,0x78,0x7C,0x7D,0x79,0x79,0x79,0x79,0xDC,0xDC,0xFC,0xF6,0xB6,0xB7,0xB1,
0xB1,0xB1,0xB1,0xF9,0xDE,0xDF,0xDF,0xCF,0x4F,0x67,0x61,0x32,0x3C,0x1F,0x07,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};
const unsigned char txw_tech[]={/*-- 文字: 阿 --*/
/*-- 幼圆20; 此字体下对应的点阵为:宽x高=28x27 --*/
/*-- 高度不是8的倍数,现调整为:宽度x高度=28x32 --*/
0x00,0xF0,0xF8,0xF8,0x08,0x88,0xF8,0xF8,0x38,0x08,0x08,0x08,0x08,0x08,0x08,0x08,
0x08,0x08,0x08,0x08,0x08,0xF8,0xF8,0xF8,0x08,0x08,0x08,0x00,0x00,0xFF,0xFF,0xFF,
0x00,0x1F,0x7F,0xF9,0xE0,0x80,0xFE,0xFF,0xFF,0x01,0x01,0x01,0x01,0x01,0xFF,0xFF,
0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x08,0x08,0x08,0x0F,
0x0F,0x07,0x0F,0x0F,0x0F,0x08,0x08,0x08,0x08,0x08,0x0F,0x0F,0x00,0xFF,0xFF,0xFF,
0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x02,0x02,0x06,0x06,0x06,0x04,0x07,0x07,0x03,0x00,0x00,0x00,0x00,/*-- 文字: 武 --*/
/*-- 幼圆20; 此字体下对应的点阵为:宽x高=28x27 --*/
/*-- 高度不是8的倍数,现调整为:宽度x高度=28x32 --*/
0x00,0x00,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x00,
0xFC,0xFC,0xF8,0x0C,0x1C,0x3C,0x78,0x70,0x40,0x00,0x00,0x00,0x01,0x01,0x01,0xF1,
0xF1,0xF1,0x01,0x01,0x01,0xFF,0xFF,0xFF,0xC1,0xC1,0xC1,0xC1,0xC3,0xFF,0xFF,0xF1,
0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,
0x80,0xFF,0xFF,0xFF,0xC0,0xC0,0xC0,0x40,0x60,0x60,0x27,0x3F,0xFF,0xF0,0xC0,0x00,
0xFC,0xFC,0xFC,0x00,0x02,0x02,0x03,0x03,0x03,0x01,0x01,0x01,0x01,0x01,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x07,0x07,0x07,0x01,0x00,/*-- 文字: 科 --*/
/*-- 幼圆20; 此字体下对应的点阵为:宽x高=28x27 --*/
/*-- 高度不是8的倍数,现调整为:宽度x高度=28x32 --*/
0x00,0x08,0x08,0x08,0x08,0xF8,0xF8,0xF8,0x0C,0x0C,0x0C,0x04,0x00,0x08,0x18,0x38,
0x70,0xE0,0xC0,0x80,0x00,0xFC,0xFC,0xFC,0x00,0x00,0x00,0x00,0x02,0x06,0x06,0x86,
0xF6,0xFF,0xFF,0xFF,0x7E,0xF6,0xC6,0x86,0x0C,0x0C,0x1C,0x38,0x70,0xE0,0xC1,0x87,
0x07,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x10,0x1C,0x1E,0x0F,0x03,0xFF,0xFF,0xFF,
0x00,0x01,0x13,0x13,0x12,0x18,0x18,0x18,0x18,0x09,0x09,0x09,0x08,0xFF,0xFF,0xFF,
0x0C,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x07,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x07,0x00,0x00,0x00,0x00,/*-- 文字: 技 --*/
/*-- 幼圆20; 此字体下对应的点阵为:宽x高=28x27 --*/
/*-- 高度不是8的倍数,现调整为:宽度x高度=28x32 --*/
0x00,0x00,0x00,0x00,0xFC,0xFC,0xFC,0x00,0x40,0x60,0x60,0x60,0x60,0x60,0x60,0xFC,
0xFC,0xFC,0x60,0x60,0x60,0x60,0x60,0x60,0x60,0x60,0x00,0x00,0x01,0x01,0x01,0x01,
0xFF,0xFF,0xFF,0xC1,0xC1,0x49,0x09,0x78,0xF8,0xE8,0x88,0x0F,0x0F,0x0F,0x08,0x08,
0x88,0xE8,0xF8,0x78,0x10,0x00,0x00,0x00,0x04,0x06,0x06,0x07,0xFF,0xFF,0xFF,0x01,
0x00,0x00,0x00,0x80,0x81,0xC3,0xCF,0x7E,0x7C,0x78,0x7C,0xEE,0xC7,0x83,0x81,0x00,
0x00,0x00,0x00,0x00,0x02,0x02,0x02,0x02,0x03,0x03,0x03,0x02,0x02,0x03,0x03,0x01,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x03,0x03,0x06,0x06,0x00,0x00,/*-- 文字: 鸿 --*/
/*-- 幼圆20; 此字体下对应的点阵为:宽x高=28x27 --*/
/*-- 高度不是8的倍数,现调整为:宽度x高度=28x32 --*/
0x00,0x08,0x18,0x38,0xF0,0xE0,0xD0,0x10,0x10,0xF0,0xF0,0x10,0x10,0xF0,0xE0,0xF0,
0xB0,0xBC,0xBC,0x3C,0x30,0xF0,0xE0,0xE0,0x00,0x00,0x00,0x00,0x00,0x04,0x1C,0x3C,
0x78,0x70,0xC0,0x80,0x00,0xFF,0xFF,0x00,0x00,0x7F,0xFF,0xFF,0x80,0x91,0x93,0x93,
0x92,0x9F,0x9F,0x9F,0x80,0x00,0x00,0x00,0x00,0x00,0xC0,0xF0,0xFC,0x3F,0x8F,0x81,
0xC0,0xFF,0x7F,0x38,0x1C,0x1C,0x14,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0xFF,
0xFF,0xFF,0x00,0x00,0x00,0x03,0x03,0x01,0x00,0x03,0x03,0x01,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x03,0x03,0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x01,0x00,0x00,/*-- 文字: 蒙 --*/
/*-- 幼圆20; 此字体下对应的点阵为:宽x高=28x27 --*/
/*-- 高度不是8的倍数,现调整为:宽度x高度=28x32 --*/
0x00,0x18,0x18,0x98,0x98,0x98,0x98,0xBC,0xBE,0xBE,0x98,0x98,0x98,0x98,0x98,0x98,
0x98,0xBE,0xBE,0xBC,0x98,0x98,0x98,0x98,0x98,0x00,0x00,0x00,0x00,0x00,0x0F,0x1F,
0x3F,0x34,0xB6,0xB6,0xB6,0xF6,0xF6,0xF6,0xF6,0x36,0x36,0x36,0x36,0x36,0x36,0xB6,
0xB4,0xBC,0x3F,0x0F,0x03,0x00,0x00,0x00,0x00,0x03,0x13,0x13,0x19,0x99,0x89,0x8D,
0xCD,0xCE,0x66,0x77,0x3F,0xFF,0xFE,0xF6,0x0F,0x1F,0x3F,0x71,0x61,0xC0,0xC0,0x80,
0x80,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x01,0x01,0x01,0x01,0x02,0x06,0x06,0x06,
0x06,0x07,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x00,/*-- 文字: 之 --*/
/*-- 幼圆20; 此字体下对应的点阵为:宽x高=28x27 --*/
/*-- 高度不是8的倍数,现调整为:宽度x高度=28x32 --*/
0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x86,0x9E,0xFC,0xF8,0xE0,0x80,
0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x81,0xC1,0xC1,0xE1,0x79,
0x3D,0x1F,0x0F,0x03,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xC0,0xC0,0x60,0x60,0xF0,
0xF0,0xB8,0x18,0x1C,0x0C,0x06,0x07,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x01,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x03,
0x03,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x00,/*-- 文字: 家 --*/
/*-- 幼圆20; 此字体下对应的点阵为:宽x高=28x27 --*/
/*-- 高度不是8的倍数,现调整为:宽度x高度=28x32 --*/
0x00,0xC0,0xF0,0xF0,0x30,0x10,0x10,0x10,0x10,0x10,0x10,0x14,0x1E,0x1E,0x10,0x10,
0x10,0x10,0x10,0x10,0x10,0x10,0x30,0xF0,0xF0,0xE0,0x00,0x00,0x00,0x03,0x87,0xC7,
0xC1,0x41,0x61,0x61,0x31,0x39,0x19,0xBD,0xFF,0xE7,0xC3,0xC1,0xE1,0xF1,0xF9,0x39,
0x19,0x01,0x06,0x07,0x07,0x00,0x00,0x00,0x00,0x00,0x10,0x18,0x98,0x98,0x8C,0xCC,
0xC6,0x66,0x73,0x33,0x39,0x9F,0xFF,0xFF,0x79,0x07,0x1F,0x3E,0x78,0xF0,0xE0,0xC0,
0x80,0x80,0x00,0x00,0x00,0x02,0x03,0x03,0x01,0x01,0x03,0x06,0x06,0x06,0x04,0x06,
0x06,0x07,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x00,};/
// Bitmap点阵数据表 //
// 图片: E:\..H砑223.bmp,横向取模左高位,数据排列:从左到右从上到下 //
// 图片尺寸: 104 * 46 //
/
static const unsigned char nPianWoFish[] = {/
// Bitmap点阵数据表 //
// 图片: E:\..H砑328.bmp,横向取模左高位,数据排列:从左到右从上到下 //
// 图片尺寸: 104 * 46 //
/0x00,0x00,0x00,0x00,0x01,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x7E,0x03,0x00,0x00,0x00,0x00,0x00,0x07,0xFF,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0xFE,0x1F,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xC0,0x00,0x00,0x00,0x00,0x01,0xFE,0x7C,0x00,0x00,0x00,0x00,0x03,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,0x03,0xFF,0xF0,0x00,0x00,0x00,0x00,0x0F,0xFF,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00,0x07,0xFF,0xC0,0x00,0x00,0x00,0x00,0x7C,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x07,0xFF,0x00,0x3F,0xFF,0xFF,0xFF,0xF1,0x1F,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFE,0x7F,0xFF,0xFF,0xF1,0xEF,0xC0,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xFF,0x0C,0x67,0xBF,0xFF,0xE0,0x3F,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xFC,0x00,0xEF,0x79,0xFF,0xBB,0xE7,0xFF,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xF0,0x06,0xF3,0x9F,0xFB,0xFF,0xE3,0xDF,0xF8,0x00,0x00,0x00,0x00,0x00,0x03,0xFF,0xE0,0xE7,0x3F,0xFF,0xFF,0xF7,0xC0,0x7F,0xF0,0x00,0x00,0x00,0x00,0x00,0x1F,0xBF,0x80,0xF3,0xBF,0x7F,0xFF,0xFF,0xE0,0x7F,0xFE,0x00,0x00,0x00,0x00,0x00,0x7C,0x7C,0x03,0x3F,0xF7,0xFF,0xFF,0xDF,0xE0,0x87,0xFE,0x00,0x00,0x00,0x00,0x01,0xF0,0xF8,0x13,0xFE,0xFF,0xCF,0xFD,0xFF,0xE0,0xFF,0xFF,0xC0,0x00,0x00,0x00,0x03,0xE1,0xF0,0x1C,0xEF,0xFF,0xFF,0xDF,0xFF,0xC0,0x7F,0xFD,0xF0,0x00,0x00,0x00,0x0F,0xF3,0xF0,0x8E,0xFF,0xDF,0xBF,0xFF,0xFF,0xF8,0x20,0xFF,0xF8,0x00,0x00,0x00,0x1F,0x07,0xE0,0xFF,0xFF,0xFB,0xFF,0xE0,0x00,0x3E,0x3F,0xFF,0xFE,0x00,0x00,0x00,0x3F,0x07,0xE0,0x7B,0xFF,0x7F,0xFC,0x00,0x00,0x07,0xCF,0xFF,0xFF,0xE0,0x00,0x00,0x7B,0xF7,0xE1,0xBF,0xF7,0xFF,0xFF,0xE0,0x00,0x01,0xF9,0xFF,0xFF,0xF0,0x00,0x00,0x7B,0xF7,0xE3,0xFF,0x7E,0xFF,0xFF,0xE0,0x00,0x00,0x3F,0xFF,0xFF,0xFF,0x00,0x00,0xFF,0xD7,0xE0,0xFF,0xFF,0xF3,0xF8,0x00,0x00,0x00,0x03,0xFF,0xFF,0xFF,0xFC,0x01,0xCE,0xF7,0xE0,0xFD,0xFF,0x8F,0xE0,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFF,0x01,0xFE,0xE7,0xE3,0xFF,0xFE,0x0F,0x80,0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0x9F,0x03,0xF7,0xC7,0xE3,0xFB,0xF8,0x1F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xE7,0x9B,0xF0,0x3F,0xE0,0xFF,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xBF,0xB9,0xF0,0x3F,0xFF,0xFF,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x3D,0xF0,0xF0,0x37,0xFF,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xF9,0xE6,0xF0,0x3F,0x00,0x0F,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xEF,0xFF,0x38,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xCF,0x78,0xC0,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xFE,0xF9,0xC0,0x07,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x77,0xFF,0xCE,0x0B,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xF3,0x9F,0xFC,0x00,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xBF,0xBC,0xF9,0xC0,0x3F,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x9E,0xFD,0xF7,0xCE,0x03,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xFC,0xE7,0xBF,0xBE,0x20,0x0F,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xEF,0xEF,0x3D,0xFC,0xF3,0x00,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xEF,0x3F,0xFC,0xEF,0xCF,0x80,0x1F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0x79,0xEF,0xE7,0x1E,0x00,0x03,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xFB,0xFB,0xCF,0x7F,0x78,0x00,0x3F,0xFF,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFB,0xDF,0xFE,0x7F,0xF9,0xC1,0x7F,0x09,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xDE,0x7B,0xF9,0xDF,0xC0,0xE0,0x7F,0xB8,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x3E,0xFE,0xF3,0xDF,0xDE,0x00,0xC0,0x7F,0x9E,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xF7,0xFF,0xDE,0xFE,0xF1,0xC0,0x7F,0x87,0x80,0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xFF,0x9E,0xDE,0xF7,0xE1,0xC0,0x1C,0x0F,0xE0,0x00,0x00,0x00,0x00,0x00,0x03,0xFF,0xFF,0xBC,0xFF,0xF3,0x80,0xC0,0x00,0x1F,0x78,0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0xFD,0xFD,0xE7,0xBF,0x80,0xC2,0x00,0x3F,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xEF,0xFF,0xBD,0xC0,0xE3,0x80,0x3F,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00,0x39,0xFF,0xEF,0x3D,0xFC,0xE0,0xF3,0xC0,0x1F,0xFB,0xE0,0x00,0x00,0x00,0x00,0x00,0x0F,0xFE,0x7F,0x79,0xEC,0x60,0xFA,0xFF,0xFD,0xF7,0xFE,0x00,0x00,0x00,0x00,0x00,0x3E,0x0F,0xBB,0xFF,0xC6,0x00,0xF8,0x7F,0xFF,0xFF,0xE6,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xF9,0xCF,0x7F,0x00,0x7E,0x0F,0x83,0xF7,0xE6,0x00,0x00,0x00,0x00,0x00,0x7F,0xF0,0x7E,0xCF,0xFF,0x80,0x3F,0x00,0x0E,0x0F,0xD6,0x00,0x00,0x00,0x00,0x00,0x7F,0x80,0x0F,0xFF,0xF6,0x00,0x3F,0x98,0x7E,0x0F,0xCE,0x00,0x00,0x00,0x00,0x00,0xFE,0x00,0x01,0xFF,0xDE,0x00,0x3F,0xFF,0xF0,0x1F,0x8C,0x00,0x00,0x00,0x00,0x03,0xFC,0x00,0x07,0xFF,0xFF,0xC0,0x1F,0xFF,0xFF,0xFE,0x1C,0x00,0x00,0x00,0x00,0x03,0xF0,0x00,0x1F,0xFF,0xFF,0xF8,0x07,0xFF,0x9F,0xF0,0x78,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xF9,0x9F,0xFF,0xFF,0xF8,0x1F,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x0F,0x87,0x01,0xFC,0x00,0x7F,0xFF,0x00,0x00,0x00,0x00,0x00
};
/
// Bitmap点阵数据表 //
// 图片: E:\..hmos_副本.bmp,横向取模左高位,数据排列:从左到右从上到下 //
// 图片尺寸: 128 * 64 //
/
const unsigned char hmosLogo[] = // 数据表
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xF8,0x20,0x82,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x11,0x02,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x0A,0x01,0x54,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x04,0x01,0x54,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x0A,0x00,0x88,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x11,0x00,0x88,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x20,0x80,0x88,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x00,0xE0,0x00,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0x81,0x98,0x00,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0xC2,0x08,0x00,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x42,0x08,0x00,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x22,0x00,0x00,0x00,0x00,0x02,0x01,0x06,0x00,0x02,0x08,0x04,0x00,0x00,0x00,0x80,0x22,0x00,0x00,0x00,0x00,0x02,0x01,0x1F,0x0B,0x87,0x1C,0x1F,0x07,0xC4,0x08,0x80,0x12,0x00,0x00,0x00,0x00,0x02,0x01,0x10,0x8C,0x08,0x42,0x31,0x88,0x24,0x09,0x00,0x11,0x00,0x00,0x00,0x00,0x03,0xFF,0x00,0x88,0x08,0x42,0x20,0x88,0x22,0x11,0x00,0x11,0xC0,0x00,0x00,0x00,0x03,0xFF,0x00,0x88,0x08,0x42,0x40,0x88,0x22,0x11,0x00,0x10,0x70,0x00,0x00,0x00,0x02,0x01,0x00,0x88,0x08,0x42,0x40,0x88,0x22,0x11,0x00,0x10,0x18,0x00,0x00,0x00,0x02,0x01,0x0F,0x88,0x08,0x42,0x40,0x88,0x22,0x11,0x00,0x10,0x0C,0x00,0x00,0x00,0x02,0x01,0x10,0x88,0x08,0x42,0x40,0x88,0x21,0x20,0x80,0x20,0x04,0x00,0x00,0x00,0x02,0x01,0x20,0x88,0x08,0x42,0x40,0x88,0x21,0x40,0x80,0x20,0x04,0x00,0x00,0x00,0x02,0x01,0x20,0x88,0x08,0x42,0x40,0x88,0x20,0x80,0x40,0x20,0x04,0x00,0x00,0x00,0x02,0x01,0x20,0x88,0x08,0x42,0x20,0x88,0x20,0x80,0x60,0x42,0x04,0x00,0x00,0x00,0x02,0x01,0x11,0x88,0x08,0x42,0x11,0x08,0x20,0x80,0x31,0x83,0x08,0x00,0x00,0x00,0x02,0x01,0x1E,0x88,0x08,0x42,0x0E,0x08,0x20,0x80,0x1F,0x00,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x7F,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x7F,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x7F,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x7F,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
};
头文件包含:
//
//,by txwtech2021.9
#include "_ansi.h"
#include <stdio.h>
#include "ohos_init.h"
#include "cmsis_os2.h"
#include "iot_gpio.h"
#include "hi_io.h"
#include "iot_pwm.h"
#include "hi_pwm.h"
#include "font_st7920.h"#define lcd_sclk HI_IO_NAME_GPIO_8 //lcd pin6---E-CLK-clock pin//蓝INT0,SCLK,中断0,接口定义:lcd_sclk 就是 LCD 的 SCLK ,INT0,中断0,txianwu,lcd pin6
#define lcd_sid HI_IO_NAME_GPIO_9 //lcd pin5---RW-data pin//TXD,SDA,接口定义:lcd_sid 就是 LCD 的 SDA, by txwtech ,lcd pin5#define lcd_rs HI_IO_NAME_GPIO_10 //lcd pin4---RS/CS-latch Pin灰RXD,接口定义:lcd_rs 就是 LCD 的 RS,也叫“CD” txwtech,txianwu,lcd pin4
//#define lcd_reset HI_IO_NAME_GPIO_11 接口定义:lcd_reset 就是 LCD 的 RESET
#define lcd_cs1 HI_IO_NAME_GPIO_12 ,接口定义:lcd_cs1 就是 LCD 的 CS1 ,低电平片选 ,st7920 lcd pin15,接GND
#define AR_SIZE( a ) sizeof( a ) / sizeof( a[0] )//lcd pin19 BLA ---3v3
//lcd pin20 BLK ---GND
//lcd pin2 VCC ---5V
//lcd pin1 GND ---GND
unsigned char show0[]={0xB0,0xA2,0xCE,0xE4,0xBF,0xC6,0xBC,0xBC};//阿武科技
unsigned char show_hm[]={0xC3,0xC0,0xBA,0xC3,0xBA,0xE8,0xC3,0xC9};//美好鸿蒙,用汉字内码程序进行转换/*
美 C3C0 2320好 BAC3 1A23鸿 BAE8 1A48蒙 C3C9 2329*/
这篇关于鸿蒙开发板Hi3861模拟SPI驱动12864LCD_ST7920_基于code-2.0-CANARY的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!