LCD160160画点程序-竹天笑学习笔记
黑白屏的LCD160160,驱动IC是UC1698.选择nor的第三块作为LCD的控制信号,RS用A0.
详细请看程序,本人也是新手,只想交流下,顺便交几个朋友,
黑白屏读点是需要空读一次,读两个字节,两个字节包含三个点的信息.从前到后565的分布.
写点是连续写1个半字节,包含3个点的信息,从前到后444的分布.具体请看uc1698芯片介绍.其它好像没有什么特殊之处,主要是用驱动RGB的屏来驱动黑白屏,所以可以算是原来一个点的RGB对应3个点的黑白.
下面上程序:
/* Includes ------------------------------------------------------------------*/
#include "lcd_fsmc.h"
/* Private define ------------------------------------------------------------*/
/* 使用总线方式时定义地址 */
/* 挂在不同的BANK,使用不同地址线时请自行换算地址 */
#define LCD_REG (*((volatile u8 *) 0x68000000)) /* RS = 0 */
#define LCD_RAM (*((volatile u8 *) 0x68000001)) /* RS = 1 */
void Delay(__IO u32 nCount)
{
for(; nCount != 0; nCount--);
}
/*******************************************************************************
* Function Name : - FSMC_Configuration
* Description : - 静态存储器控制器配置
* Input : - None
* Output : - None
* Return : - None
* Attention : - None
*******************************************************************************/
void FSMC_Configuration(void)
{
GPIO_InitTypeDef GPIO_InitStructure;
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOD | RCC_APB2Periph_GPIOE | RCC_APB2Periph_GPIOF | RCC_APB2Periph_GPIOG | RCC_APB2Periph_AFIO, ENABLE);
/***************************************************************************
* Description : FSMC管脚初始化
* Attention : ---------------------------
* | 地址线 |
* | PF 0~ 5 - A 0~ 5 |
* | PF12~15 - A 6~ 9 |
* | PG 0~ 5 - A10~15 |
* | PD11~13 - A16~18 |
* ---------------------------
* | 数据线 |
* | PD14~15 - D 0~ 1 |
* | PD 0~ 1 - D 2~ 3 |
* | PE 7~10 - D 4~ 7 |
* ---------------------------
* | 公共信号 |
* | PD 4 - NOE |
* | PD 5 - NWE |
* | PD 6 - NWAIT - NAND512|
* ---------------------------
* | NOR块选择信号 |
* | PG10 - NE3 - LCD |
* ---------------------------
***************************************************************************/
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1 | GPIO_Pin_2 | GPIO_Pin_3 | GPIO_Pin_4 | GPIO_Pin_5//A0-A18
| GPIO_Pin_12 | GPIO_Pin_13| GPIO_Pin_14| GPIO_Pin_15;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
GPIO_Init(GPIOF,&GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1 | GPIO_Pin_2 | GPIO_Pin_3 | GPIO_Pin_4 | GPIO_Pin_5;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
GPIO_Init(GPIOG, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11 | GPIO_Pin_12 | GPIO_Pin_13;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
GPIO_Init(GPIOD, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_14 | GPIO_Pin_15 | GPIO_Pin_0 | GPIO_Pin_1;//D0-D7
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
GPIO_Init(GPIOD, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_7 | GPIO_Pin_8 | GPIO_Pin_9 | GPIO_Pin_10;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
GPIO_Init(GPIOE, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_4 | GPIO_Pin_5;//NOE、NWE
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
GPIO_Init(GPIOD, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;//NE3,LCD
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
GPIO_Init(GPIOG, &GPIO_InitStructure);
}
/*******************************************************************************
* Function Name : FSMC_LCD_Init
* Description : 液晶FSMC配置
* Input : None
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void FSMC_LCD_Init(void)
{
GPIO_InitTypeDef GPIO_InitStructure;
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOD, ENABLE);
RCC_AHBPeriphClockCmd(RCC_AHBPeriph_FSMC, ENABLE);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_8 | GPIO_Pin_9; //背光和复位
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
GPIO_Init(GPIOD, &GPIO_InitStructure);
FSMC_NORSRAMInitTypeDef FSMC_NORSRAMInitStructure;
FSMC_NORSRAMTimingInitTypeDef p;
/*-- FSMC Configuration ----------------------------------------------------*/
p.FSMC_AddressSetupTime = 1;
p.FSMC_AddressHoldTime = 0;
p.FSMC_DataSetupTime = 12;
p.FSMC_BusTurnAroundDuration = 0;
p.FSMC_CLKDivision = 0;
p.FSMC_DataLatency = 15;
p.FSMC_AccessMode = FSMC_AccessMode_B;
FSMC_NORSRAMInitStructure.FSMC_Bank = FSMC_Bank1_NORSRAM3;
FSMC_NORSRAMInitStructure.FSMC_DataAddressMux = FSMC_DataAddressMux_Disable;
FSMC_NORSRAMInitStructure.FSMC_MemoryType = FSMC_MemoryType_SRAM;
FSMC_NORSRAMInitStructure.FSMC_MemoryDataWidth = FSMC_MemoryDataWidth_8b;
FSMC_NORSRAMInitStructure.FSMC_BurstAccessMode = FSMC_BurstAccessMode_Disable;
FSMC_NORSRAMInitStructure.FSMC_WaitSignalPolarity = FSMC_WaitSignalPolarity_Low;
FSMC_NORSRAMInitStructure.FSMC_WrapMode = FSMC_WrapMode_Disable;
FSMC_NORSRAMInitStructure.FSMC_WaitSignalActive = FSMC_WaitSignalActive_BeforeWaitState;
FSMC_NORSRAMInitStructure.FSMC_WriteOperation = FSMC_WriteOperation_Enable;
FSMC_NORSRAMInitStructure.FSMC_WaitSignal = FSMC_WaitSignal_Disable;
FSMC_NORSRAMInitStructure.FSMC_ExtendedMode = FSMC_ExtendedMode_Disable;
FSMC_NORSRAMInitStructure.FSMC_WriteBurst = FSMC_WriteBurst_Disable;
FSMC_NORSRAMInitStructure.FSMC_ReadWriteTimingStruct = &p;
FSMC_NORSRAMInitStructure.FSMC_WriteTimingStruct = &p;
FSMC_NORSRAMInit(&FSMC_NORSRAMInitStructure);
/* Enable FSMC Bank1_NOR Bank */
FSMC_NORSRAMCmd(FSMC_Bank1_NORSRAM3, ENABLE);
GPIO_ResetBits(GPIOD,GPIO_Pin_8); //复位
Delay(1000);
GPIO_SetBits(GPIOD,GPIO_Pin_8);
LCD_LightOn(); //开背光
}
/*******************************************************************************
* Function Name : LCD_Initializtion
* Description : 液晶初始化
* Input : None
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void LCD_Initializtion(void)
{
FSMC_Configuration();
FSMC_LCD_Init();
LCD_WriteCommand(0xE2);// -24- System Reset
LCD_WriteCommand(0xeb);// -27- Set LCD Bias Ratio E8-EB
LCD_WriteCommand(0x81);// -11- set- Vbias potention meter
LCD_WriteCommand(0xB5);// set vop 0~255
LCD_WriteCommand(0xaf);// -22- power control set
LCD_WriteCommand(0x80);// set vop 0~255
LCD_WriteCommand(0xf4);// set windows programm starting column address
LCD_WriteCommand(0x25);// set 00
LCD_WriteCommand(0xf5);// set windows programm starting row address
LCD_WriteCommand(0x00);// set 00
LCD_WriteCommand(0xf6);// set windows programm ending column address
LCD_WriteCommand(0x5A);// set 3x50=150
LCD_WriteCommand(0xf7);// set windows programm ending row address
LCD_WriteCommand(0xa0);// set 150
LCD_WriteCommand(0xf8);// set windows programm mode inside mode ac3=0
LCD_WriteCommand(0xd1);// set windows programm mode inside mode ac3=0
LCD_WriteCommand(0xd5);// set windows programm mode inside mode ac3=0
LCD_Clear(0);
}
/*******************************************************************************
* Function Name : LCD_LightOn
* Description : 开背光
* Input : None
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void LCD_LightOn(void)
{
GPIO_ResetBits(GPIOD, GPIO_Pin_9);//开背光
}
/*******************************************************************************
* Function Name : LCD_LightOff
* Description : 关背光
* Input : None
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void LCD_LightOff(void)
{
GPIO_SetBits(GPIOD, GPIO_Pin_9);//关背光
}
/*******************************************************************************
* Function Name : LCD_WriteCommand
* Description : Writes to the LCD REG.
* Input : - cmd: LCD CMD.
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void LCD_WriteCommand(u8 cmd)
{
/* Write cmd */
LCD_REG = cmd;
}
/*******************************************************************************
* Function Name : LCD_WriteData
* Description : Writes to the LCD RAM.
* Input : - data: the pixel color in RGB mode (4-4-4).
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void LCD_WriteData(u8 data)
{
/* Write 8-bit data */
LCD_RAM = data;
}
/*******************************************************************************
* Function Name : LCD_ReadData
* Description : Read the LCD RAM.
* Input : None
* Output : None
* Return : - data: the pixel color in RGB mode (5-6-5).
* Attention : None
*******************************************************************************/
u8 LCD_ReadData(void)
{
/* Write 8-bit data */
return LCD_RAM;
}
/*******************************************************************************
* Function Name : LCD_Clear
* Description : 清屏
* Input : - Color :0白屏, 1黑屏
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void LCD_Clear(u8 Color)
{
u8 row=0, col=0;
LCD_WriteCommand(0x05);// set column adress LSB CA3 CA2 CA1 CA0 =05
LCD_WriteCommand(0x12);// set column adress MSB CA6 CA5 =02
LCD_WriteCommand(0x60);// set ROW adress LSB RA3 RA2 RA1 RA0 =00
LCD_WriteCommand(0x70);// set ROW adress MSB RA7 RA6 RA5 RA4 =00
for (row=0; row<160; row++)
{
for(col=0; col<81; col++) //
{
LCD_WriteData(Color); //a byte per a pixel
}
}
}
/*******************************************************************************
* Function Name : Disp_Point
* Description : 画点函数
* Input : - Xpos: 水平坐标,0-159之间
* - Ypos: 竖直坐标,0-159之间
* - Color: 颜 {MOD},color=0为变白,color=1为变黑,color=2为反转
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void Disp_Point(u8 Xpos, u8 Ypos, u8 Color)
{
u8 Xlowpos, Xhighpos, Ylowpos, Yhighpos;
u8 Xmidpos;
u8 firstData, secondData;
u16 Data, tempData;
Ylowpos = (( 159 - Ypos ) & 0x0f ) | 0x60;
Yhighpos = (( 159 - Ypos ) >> 4 ) | 0x70;
Xmidpos = Xpos % 3;
Xpos = Xpos / 3;
Xlowpos = (( Xpos + 0x25 ) & 0x0f ) | 0x00;
Xhighpos = (( Xpos + 0x25 ) >> 4 ) | 0x10;
LCD_WriteCommand(Xlowpos);// set column adress LSB CA3 CA2 CA1 CA0 =05
LCD_WriteCommand(Xhighpos);// set column adress MSB CA6 CA5 =02
LCD_WriteCommand(Ylowpos);// set ROW adress LSB RA3 RA2 RA1 RA0 =00
LCD_WriteCommand(Yhighpos);// set ROW adress MSB RA7 RA6 RA5 RA4 =00
LCD_ReadData();
firstData = LCD_ReadData();
secondData = LCD_ReadData();
Data = ( (u16)firstData << 8 ) | ( (u16)secondData );
switch ( Xmidpos )
{
case 0:tempData = 0xF800;break;
case 1:tempData = 0x07E0;break;
case 2:tempData = 0x001F;break;
default:break;
}
switch ( Color )
{
case 0:
{
Data = Data & (~tempData);
break;
}
case 1:
{
Data = Data | tempData;
break;
}
case 2:
{
Data = Data ^ tempData;
break;
}
default:break;
}
firstData = ( (u8)(Data >> 8) & 0xf0 ) | ( (u8)(Data >> 5) & 0x0f );
secondData = (u8)(Data << 4) & 0xf0 ;
LCD_WriteCommand(Xlowpos);// set column adress LSB CA3 CA2 CA1 CA0 =05
LCD_WriteCommand(Xhighpos);// set column adress MSB CA6 CA5 =02
LCD_WriteCommand(Ylowpos);// set ROW adress LSB RA3 RA2 RA1 RA0 =00
LCD_WriteCommand(Yhighpos);// set ROW adress MSB RA7 RA6 RA5 RA4 =00
LCD_WriteData(firstData);
LCD_WriteData(secondData);
}
/******************************************************************************
* Function Name : LCD_DispLine
* Description : 画线 Bresenham's line algorithm
* Input : - x0: A点行坐标
* - y0: A点列坐标
* - x1: B点行坐标
* - y1: B点列坐标
* - Color: 线颜 {MOD}
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void Disp_Line(u8 x0, u8 y0, u8 x1, u8 y1, u8 Color)
{
u8 dx, dy; /* 定义X Y轴上增加的变量值 */
s16 temp; /* 起点 终点大小比较 交换数据时的中间变量 */
u8 inc;
if ( x1 >= x0 )
{
dx = x1 - x0; /* X轴方向上的增量 */
}
else
{
dx = x0 - x1;
}
if ( y1 >= y0 )
{
dy = y1 - y0; /* Y轴方向上的增量 */
}
else
{
dy = y0 - y1;
}
if ( dx >= dy ) /* 靠近x轴,以x轴递增画线*/
{
if ( x0 > x1 )
{
temp = x1; /* 起点大于终点 交换数据 */
x1 = x0;
x0 = temp;
temp = y1;
y1 = y0;
y0 = temp;
}
if ( y0 > y1 )
{
inc = 0;
}
else
{
inc = 1;
}
}
else /* 靠近y轴,以y轴递增画线*/
{
if ( y0 > y1 )
{
temp = x1; /* 起点大于终点 交换数据 */
x1 = x0;
x0 = temp;
temp = y1;
y1 = y0;
y0 = temp;
}
if ( x0 > x1 )
{
inc = 0;
}
else
{
inc = 1;
}
}
if( dx == 0 ) /* X轴上没有增量 画垂直线 */
{
do
{
Disp_Point(x0, y0, Color); /* 逐点显示 描垂直线 */
y0++;
}
while( y1 >= y0 );
return;
}
if( dy == 0 ) /* Y轴上没有增量 画水平直线 */
{
do
{
Disp_Point(x0, y0, Color); /* 逐点显示 描水平线 */
x0++;
}
while( x1 >= x0 );
return;
}
/* 布兰森汉姆(Bresenham)算法画线 */
if( dx >= dy ) /* 靠近X轴 */
{
temp = 2 * dy - dx; /* 计算下个点的位置 */
while( x0 != x1 )
{
Disp_Point(x0, y0, Color); /* 画起点 */
x0++; /* X轴上加1 */
if( temp > 0 ) /* 判断下下个点的位置 */
{
if(inc==1) /* 为右上相邻点,即(x0+1,y0+1) */
{
y0++;
}
else
{
y0--;
}
temp += 2 * dy - 2 * dx;
}
else
{
temp += 2 * dy; /* 判断下下个点的位置 */
}
}
Disp_Point(x0, y0, Color);
}
else
{
temp = 2 * dx - dy; /* 靠近Y轴 */
while( y0 != y1 )
{
Disp_Point(x0, y0, Color);
y0++;
if( temp > 0 )
{
if(inc==1) /* 为右上相邻点,即(x0+1,y0+1) */
{
x0++;
}
else
{
x0--;
}
temp += 2 * dx - 2 * dy;
}
else
{
temp += 2 * dx;
}
}
Disp_Point(x0, y0, Color);
}
}
/******************************************************************************
* Function Name : Disp_Rectangle
* Description : 画矩形
* Input : - x0: A点行坐标
* - y0: A点列坐标
* - x3: D点行坐标
* - y3: D点列坐标
* - Color: 线颜 {MOD}
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void Disp_Rectangle(u8 x0, u8 y0, u8 x3, u8 y3, u8 Color)
{
Disp_Line(x0, y0, x0, y3, Color);
Disp_Line(x0, y3, x3, y3, Color);
Disp_Line(x3, y3, x3, y0, Color);
Disp_Line(x3, y0, x0, y0, Color);
}
#define DEG2RAD (3.1415926f / 180)
/******************************************************************************
* Function Name : Disp_Ellipse
* Description : 画椭圆
* Input : - xCenter: 圆心行坐标
* - yCenter: 圆心列坐标
* - Rx: x轴半径
* - Ry: y轴半径
* - Color: 线颜 {MOD}
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void Disp_Ellipse(u8 xCenter, u8 yCenter, u8 Rx, u8 Ry, u8 Color)
{
u16 t;
u8 x, y;
for ( t = 0; t < 360; t = t + 3 ) //画120个点
{
x = (u8)( xCenter + Rx * cos(t*DEG2RAD) + 0.5 ); //+0.5是为了四舍五入
y = (u8)( yCenter + Ry * sin(t*DEG2RAD) + 0.5 );
Disp_Point(x, y, Color);
}
}
/******************************************************************************
* Function Name : Disp_Button
* Description : 画实心矩形
* Input : - Xpos: 行坐标
* - Ypos: 列坐标
* - str: 字符串
* - charColor: 字符颜 {MOD}
* - bkColor: 背景颜 {MOD}
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void Disp_SolidRectangle(u8 x0, u8 y0, u8 x3, u8 y3, u8 Color, u8 bkColor)
{
u8 x;
if ( x0 > x3 ) //画填充
{
for ( x = x3 + 1; x < x0; x++ )
{
Disp_Line(x, y0, x ,y3, bkColor);
}
}
else
{
for ( x = x0 + 1; x < x3; x++ )
{
Disp_Line(x, y0, x ,y3, bkColor);
}
}
Disp_Rectangle(x0, y0, x3, y3, Color); //画外框
}
/******************************************************************************
* Function Name : Disp_SolidEllipse
* Description : 画实心椭圆
* Input : - Xpos: 行坐标
* - Ypos: 列坐标
* - str: 字符串
* - charColor: 字符颜 {MOD}
* - bkColor: 背景颜 {MOD}
* Output : None
* Return : None
* Attention : None
*******************************************************************************/
void Disp_SolidEllipse(u8 xCenter, u8 yCenter, u8 Rx, u8 Ry, u8 Color, u8 bkColor)
{
Disp_Ellipse(xCenter,yCenter,Rx,Ry,Color); //画外框
while ( (Rx != 0) || (Ry != 0) )
{
Rx--;
Ry--;
Disp_Ellipse(xCenter,yCenter,Rx,Ry,bkColor); //填充
}
}
交流QQ:3440-19-106
LCD160160.zip
(14.96 KB, 下载次数: 63)
2012-11-17 11:53 上传
点击文件名下载附件
UC1698.pdf
(655.42 KB, 下载次数: 86)
2012-11-17 11:53 上传
点击文件名下载附件
#include <reg52.h>
#include <intrins.h>
unsigned char pic_dot; //全局变量
sbit CS=P3^0;
sbit RS=P3^1;
sbit RDB=P3^2;
sbit WRB=P3^3;
sbit RES=P3^4;
unsigned char code *ptr;
void delay_ms(unsigned int ms);
void wr_cmd(unsigned char com);
void wr_dat(unsigned char dat);
void init_1698(void);
void dis_dot(unsigned char dat1,unsigned char dat2); //显示网点
void dis_gra(void); //写入160*160点阵单 {MOD}图片
void push_gra(unsigned char gra); //写入一个图形数据字节中的后两位
unsigned char left(unsigned char m); //写入黑白图形之前先循环左移2位函数
unsigned char code Image1[];
unsigned char code Image2[];
/******************************************************************************************
*函数名称:wr_com
*功能描述:写入指令子程序
******************************************************************************************/
void wr_cmd(unsigned char com)
{
RS=0; //command
CS=0;
RDB=1;
P1=com;
WRB=0;
WRB=1;
CS=1;
}
/******************************************************************************************
*函数名称:wr_dat
*功能描述:写入数据子程序
******************************************************************************************/
void wr_dat(unsigned char dat)
{
RS=1; //data
CS=0;
RDB=1;
P1=dat;
WRB=0;
WRB=1;
CS=1;
}
/******************************************************************************************
*函数名称: dis_dot
*功能描述: 显示网点
******************************************************************************************/
void dis_dot(unsigned char dat1,unsigned char dat2)
{
unsigned char i,j,x,y;
for(j=0;j<160;j++) //行数
{
x=j&0x0f|0x60;
y=(j>>4)&0x0f|0x70;
wr_cmd(x); //设置行地址LSB加1,参见IC资料指令表第9项
wr_cmd(y); //设置行地址MSB加1,参见IC资料指令表第9项
wr_cmd(0x05); //设置列地址LSB ,160160用到seg111-seg216 ,RGB分别点亮一个SEG
//列地址为111/3=37=25H,即:SET COLUMN LSB=05H,SET COLUMN MSB=12H
wr_cmd(0x12); //设置列地址MSB
for(i=0;i<27;i++) //送3次亮6个SEG,所以做3*27次为162(比160多2个,凑3的整倍数)
{
if(j%2==0) //取余,j%2==0为偶数行
{
wr_dat(dat1); //送3次亮6个SEG
wr_dat(dat1);
wr_dat(dat1);
}
else //取余,j%2<>0为奇数行
{
wr_dat(dat2);
wr_dat(dat2);
wr_dat(dat2);
}
}
}
delay_ms(800);
}
/******************************************************************************************
*函数名称: push_gra
*功能描述: 写入一个图形数据字节中的后两位
******************************************************************************************/
void push_gra(unsigned char gra)
{
unsigned char q,g;
q=gra;
g=q&0x03;//经过LEFT函数之后取最后两位,根据这两个数来决定写UC1698U的值,
if (g==0x00)//00000000对应写入0000000000 的RGB中的两个点
wr_dat(0x00);
else
{
if(g==0x01)//00000001对应写入00001111 的RGB中的两个点
wr_dat(0x0f);
else
{
if(g==0x02)//00000010对应写入11110000的RGB中的两个点
wr_dat(0xf0);
else
wr_dat(0xff) ;//00000011对应写入11111111的RGB中的两个点
}
}
}
/******************************************************************************************
*函数名称: left
*功能描述: 将图形数据循环左移2位
******************************************************************************************/
unsigned char left(unsigned char m)
{
unsigned char aa,bb,re;
aa=bb=0;
aa=m>>6; //右移6位
bb=m<<2; //左移2位
re=aa|bb; //得到最后循环左移2位1次的值
pic_dot=re; //PIC_DOT为全局变量
return(re); //返回最后值
}
/******************************************************************************************
*函数名称: dis_gra
*功能描述: 写入160*160点阵单 {MOD}图片
******************************************************************************************/
void dis_gra(void)
{
unsigned char i,j,k,e,x,y;
for(j=0;j<160;j++) //COM数=160
{
x=j&0x0f|0x60; //设置行地址LSB加1,参见IC资料指令表第9项
y=(j>>4)&0x0f|0x70; //设置行地址MSB加1,参见IC资料指令表第9项
wr_cmd(x);
wr_cmd(y);
wr_cmd(0x05); //设置列地址LSB ,160160用到seg111-seg216 ,RGB分别点亮一个SEG
//列地址为111/3=37=25H,即:SET COLUMN LSB=05H,SET COLUMN MSB=12H
wr_cmd(0x12); //设置列地址MSB
for(i=0;i<20;i++)
{
e=*ptr++;
for(k=0;k<4;k++) //循环左移4次,每次两位,
{
e=left(e); //左移两位之后再送给变量e
push_gra(pic_dot); //写入全局变量pic_dot所代表的具体点
}
}
}
delay_ms(800);
}
void init_1698(void)
{
wr_cmd(0xe2); //system reset :Command table NO.24
delay_ms(10);
wr_cmd(0xe9); //set bias=1/12 :Command table NO.27
wr_cmd(0x81); //SET LCD voltage :Command table NO.11 .Double-byte command
wr_cmd(200); //0--255
wr_cmd(0xd1); //SET RGB:Command table NO.21 .SET RGB or BGR. D1=RGB
wr_cmd(0xd5); //set color mode 4K and 12bits :Command table NO.22
wr_cmd(0xc4); //0XC4/0XC0 Set LCD Mapping Control::Command table NO.18 选COM的扫描方式 C4/C0
//COM (row) mirros(MY)=1。
wr_cmd(0xaf); //Contrast Control :Command table NO.18
//dc2=1,IC into exit SLEEP MODE
//dc3=1 gray=ON 开灰阶
//dc4=1 Green Enhanc mode disabled 绿 {MOD}增强模式关
delay_ms(20);
}
/******************************************************************************************
*函数名称:delay_ms
*功能描述:延时us
******************************************************************************************/
void delay_ms(unsigned int ms)
{
unsigned int i, j;
for(i=0;i<ms;i++)
for(j=0;j<100;j++);
}
main()
{
RES=1;
delay_ms(15);
RES=0;
delay_ms(15);
RES=1;
delay_ms(100);
init_1698();
for(;;)
{
dis_dot(0xff,0xff); //全屏
ptr=Image1;
dis_gra(); //图片一
ptr=Image2;
dis_gra(); //图片二
dis_dot(0xf0,0x0f); //网点
dis_dot(0x0f,0xf0); //错开网点
dis_dot(0xff,0x00); //横线
dis_dot(0x00,0xff); //错开横线
dis_dot(0xf0,0xf0); //竖线
dis_dot(0x0f,0x0f); //错开竖线
}
}
unsigned char code Image1[]={
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xBF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFD,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xBF,0xF4,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xFF,0xFA,0x00,0x00,0x05,0xA0,0x00,0x00,0x02,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0B,0xFF,0xFE,0x80,0x00,0x05,
0xA0,0x00,0x00,0xBF,0xF4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x17,0xFF,
0xFE,0x80,0x00,0x05,0xA0,0x00,0x02,0xFF,0xFE,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x5F,0xFF,0xFF,0x40,0x00,0x05,0xA0,0x00,0x05,0xFF,0xFF,0xA0,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xBF,0xFF,0xFF,0xA0,0x00,0x05,0xA0,0x00,0x0B,0xFF,
0xFF,0xE8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xFF,0xFF,0x4B,0xA0,0x00,0x05,
0xA0,0x00,0x17,0xFF,0xFF,0xFA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xFF,0xFA,
0x00,0x80,0x00,0x05,0xA0,0x00,0x2F,0xFF,0xFF,0xFD,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x0B,0xFF,0xE8,0x00,0x00,0x00,0x05,0xA0,0x00,0x2F,0xAF,0xFF,0xFE,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x17,0xFF,0xD1,0x7E,0x80,0x00,0x05,0xA0,0x00,0x2E,0x82,
0xFF,0xFF,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x2F,0xFF,0x4B,0xFF,0xA0,0x00,0x05,
0xA0,0x00,0x5A,0x00,0x5F,0xFF,0xE8,0x00,0x00,0x00,0x00,0x00,0x00,0xBF,0xFE,0xAF,
0xFF,0xE8,0x00,0x05,0xA0,0x00,0x00,0x00,0x17,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00,0x05,
0xA0,0x2F,0xE8,0x00,0x00,0x00,0x00,0x00,0xBF,0xFF,0xFF,0xA0,0x00,0x00,0x00,0x00,
0xBF,0xE8,0x00,0x05,0xA0,0x2F,0xE8,0x00,0x00,0x00,0x00,0x01,0x7F,0xFF,0xFF,0xF4,
0x00,0x00,0x00,0x02,0xFF,0xE8,0x00,0x05,0xA0,0x17,0xFA,0x00,0x00,0x00,0x00,0x02,
0xFF,0xFF,0xFF,0xFA,0x00,0x00,0x00,0x17,0xFF,0xA0,0x00,0x05,0xA0,0x0B,0xFD,0x00,
0x00,0x00,0x00,0x02,0xFF,0xFF,0xFF,0xFD,0x00,0x00,0x00,0xBF,0xFE,0x80,0x00,0x05,
0xA0,0x05,0xFF,0x40,0x00,0x00,0x00,0x05,0xFF,0xFF,0xFF,0xEE,0x80,0x00,0x05,0xFF,
0xFA,0x00,0x00,0x05,0xA0,0x02,0xFF,0xA0,0x00,0x00,0x00,0x0B,0xFF,0xFF,0xFF,0xFE,
0x80,0x00,0x2F,0xFF,0xE8,0x00,0x00,0x05,0xA0,0x00,0xBF,0xE8,0x00,0x00,0x00,0x0B,
0xBF,0xFF,0xFF,0xFE,0x80,0x02,0xFF,0xFF,0xA0,0x00,0x00,0x05,0xA0,0x00,0x5F,0xFA,
0x00,0x00,0x0B,0xB7,0xFF,0xFF,0xFF,0xFB,0xA0,0x2F,0xFF,0xFA,0x00,0x00,0x00,0x05,
0xA0,0x00,0x2F,0xFF,0x40,0x00,0x5F,0x6F,0xFF,0xFB,0xFF,0xFF,0xAB,0xFF,0xFF,0xE8,
0x00,0x00,0x00,0x05,0xA0,0x00,0x0B,0xFF,0xFA,0x02,0xFE,0xAE,0xFF,0xFF,0xBF,0xFF,
0xCF,0xFF,0xFE,0x80,0x00,0x00,0x00,0x05,0xA0,0x00,0x02,0xFF,0xFF,0xFF,0xFA,0x5F,
0xFF,0xFF,0xBF,0xFE,0xE8,0xBF,0x40,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0xBF,
0xFF,0xFF,0xE8,0xBF,0xFF,0xFF,0xBF,0xFE,0xE8,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x17,0xFF,0xFF,0xA1,0x7B,0xFF,0xFF,0xFF,0xFF,0x74,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x02,0xFF,0xFE,0x82,0xFB,0xFF,0xFF,0xFF,0xFF,
0xBA,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x02,0xF7,
0xFF,0xFF,0xFF,0xFF,0xBD,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x05,0xEF,0xFF,0xFF,0xFF,0xFF,0xDE,0x80,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x0B,0xEF,0xFF,0xFF,0xFF,0xFF,0xEE,0x80,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x0B,0xDF,0xFF,0xEF,0xFF,0xFF,
0xEF,0x40,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x17,0xBF,
0xFF,0xFE,0xEF,0xFF,0xF7,0xA0,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x2F,0xBF,0xFF,0xFE,0xEF,0xFF,0xFB,0xA0,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x2F,0x7F,0xFF,0xFE,0x6F,0xFF,0xFB,0xD0,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x5E,0xFF,0xFF,0xFE,0x6F,0xFF,
0xF9,0xE8,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0xBE,0xFF,
0xFF,0xFE,0x7F,0xFF,0xFC,0xF4,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0xBC,0xFF,0xFF,0xFE,0x77,0xFF,0xFE,0xFA,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x01,0x79,0xFF,0xFF,0xBE,0x77,0xFF,0xFE,0x7A,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x02,0xFB,0xFF,0xFF,0xBD,0xBF,0xFF,
0xFF,0x3D,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x02,0xF3,0xFF,
0xFF,0xFD,0xBB,0xFF,0xFF,0xBE,0x80,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x05,0xE7,0xFF,0xFF,0xFD,0xBB,0xFF,0xFF,0x9E,0x80,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x0B,0xEF,0xFF,0xFF,0xFD,0xBB,0xFF,0xFF,0xCF,0x40,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x17,0xCF,0xFF,0xFF,0xFA,0xBB,0xFF,
0xFF,0xCF,0xA0,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x2F,0xCF,0xFF,
0xFE,0xFA,0xBD,0xFF,0xFF,0xE7,0xA0,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x2F,0x9F,0xFF,0xFE,0xFA,0xBD,0xFF,0xFF,0xEB,0xD0,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x5F,0xBF,0xFF,0xFE,0xFA,0xBC,0xFF,0xFF,0xF3,0xE8,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x5F,0x3F,0xFF,0xFF,0xFA,0xBE,0xFF,
0xFF,0xF9,0xE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x00,0x00,0x05,0xA0,0x00,0x00,0x17,0xD0,0x02,0xF9,0xFE,
0x80,0x00,0x00,0x02,0xFE,0x7A,0x00,0x2F,0xA0,0x00,0x00,0x05,0xA0,0x00,0x00,0x17,
0xA0,0x01,0x7B,0xFE,0x80,0x00,0x00,0x02,0xFF,0x3A,0x00,0x17,0xA0,0x00,0x00,0x05,
0xA0,0x00,0x00,0x17,0xA0,0x00,0xB3,0xFD,0x00,0x00,0x00,0x02,0xFF,0xBA,0x00,0x0B,
0xA0,0x00,0x00,0x05,0xA0,0x00,0x00,0x0B,0x40,0x00,0x17,0xFA,0x00,0x00,0x00,0x01,
0x7F,0xA0,0x00,0x0B,0xA0,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x2F,0xFA,
0x00,0x00,0x00,0x01,0x7F,0xA0,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x2F,0xFA,0x00,0x00,0x00,0x00,0xBF,0xD0,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x2F,0xF4,0x00,0x00,0x00,0x00,0xBF,0xE8,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x5F,0xE8,0x00,0x00,0x00,0x00,
0xBF,0xE8,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x2F,0xE8,
0x00,0x00,0x00,0x00,0x5F,0xE8,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x2F,0xE8,0x00,0x00,0x00,0x00,0x2F,0xE8,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x2F,0xD0,0x00,0x00,0x00,0x00,0x2F,0xE8,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x2F,0xA0,0x00,0x00,0x00,0x00,
0x2F,0xD0,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x2F,0xA0,
0x00,0x00,0x00,0x00,0x17,0xD0,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x2F,0xA0,0x00,0x00,0x00,0x00,0x0B,0xD0,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x2F,0x40,0x00,0x00,0x00,0x00,0x0B,0xD0,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x2E,0x80,0x00,0x00,0x00,0x00,
0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x2E,0x80,
0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xBF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFD,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
};
unsigned char code Image2[]={
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xBF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFD,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x08,0x04,0x04,0x00,0x00,0x02,
0x09,0x02,0x08,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x0F,0x88,0x02,
0x02,0x00,0xFF,0x02,0x09,0x02,0x08,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x1F,0x88,0x88,0x02,0x7F,0xE0,0x81,0x02,0x7F,0xC2,0x08,0x05,0xA1,0x01,0xC1,0x8E,
0x71,0x01,0xC1,0x80,0x10,0x09,0x7F,0xC0,0x92,0x00,0xFF,0x02,0x09,0x02,0x3F,0x85,
0xA7,0x02,0x42,0x44,0x27,0x02,0x42,0x40,0x11,0x0A,0x10,0x08,0x92,0x00,0x81,0x0F,
0xBF,0x8F,0x88,0x85,0xA1,0x04,0x04,0x22,0x41,0x04,0x04,0x21,0xFF,0x89,0x14,0x05,
0x27,0xC0,0xFF,0x02,0x20,0x82,0x08,0x85,0xA1,0x04,0x04,0x22,0x41,0x04,0x04,0x21,
0x01,0x08,0xA4,0x05,0x24,0x40,0x81,0x07,0x3F,0x82,0x08,0x85,0xA1,0x05,0x84,0x21,
0x81,0x05,0x84,0x21,0x01,0x08,0xFF,0xC1,0x6A,0x80,0x00,0x06,0xA0,0x82,0x08,0x85,
0xA1,0x06,0x44,0x21,0x81,0x06,0x44,0x21,0x01,0x08,0x84,0x02,0xB9,0x87,0xE7,0xEA,
0x3F,0x82,0xFF,0xE5,0xA1,0x04,0x24,0x21,0x81,0x04,0x24,0x21,0xFF,0x0A,0x84,0x02,
0x25,0x04,0x24,0x2A,0x04,0x02,0x08,0x05,0xA1,0x04,0x24,0x22,0x41,0x04,0x24,0x21,
0x01,0x09,0x7F,0xEE,0x22,0x07,0xE7,0xE2,0x7F,0xE3,0x94,0x05,0xA1,0x04,0x24,0x22,
0x41,0x04,0x24,0x20,0x11,0x08,0x04,0x02,0x23,0x04,0x24,0x22,0x04,0x0E,0x12,0x05,
0xA1,0x02,0x42,0x44,0x21,0x02,0x42,0x42,0x88,0x88,0x04,0x02,0x25,0x04,0x24,0x22,
0x0A,0x04,0x21,0x85,0xA7,0xC1,0x81,0x8E,0x77,0xC1,0x81,0x82,0x44,0x48,0x04,0x02,
0x28,0x87,0xE7,0xE2,0x09,0x80,0x20,0xE5,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x04,
0x44,0x48,0x04,0x02,0x30,0xE4,0x24,0x22,0x10,0xE0,0x40,0x45,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x08,0x04,0x02,0x20,0x40,0x00,0x02,0x60,0x40,0x80,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x80,0x00,0x80,
0x00,0x00,0x00,0x00,0x04,0x08,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x40,0x00,0x40,0x07,0xFC,0x07,0xFE,0x02,0x0C,0x07,0xFC,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x40,0x0F,0xFF,0x04,0x04,0x00,0x00,0x02,0x08,0x04,0x44,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x3F,0xFF,0x88,0x01,0x07,0xFC,0x00,0x00,
0x1F,0xC8,0x07,0xFC,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x02,0x08,0x10,0x02,
0x04,0x04,0x00,0x00,0x05,0x1F,0x84,0x44,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x02,0x08,0x07,0xF8,0x07,0xFC,0x1F,0xFF,0x84,0x91,0x07,0xFC,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x02,0x08,0x00,0x10,0x01,0x10,0x00,0x40,0x08,0x71,0x00,0x40,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x01,0x10,0x00,0x20,0x01,0x10,0x00,0x40,
0x08,0x91,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x01,0x10,0x00,0x40,
0x11,0x12,0x04,0x48,0x18,0x8A,0x3F,0xFF,0x80,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0xA0,0x1F,0xFF,0x89,0x12,0x04,0x44,0x05,0x0A,0x00,0xE0,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x40,0x00,0x40,0x05,0x14,0x08,0x42,0x02,0x04,0x01,0x50,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0xA0,0x00,0x40,0x05,0x18,0x10,0x43,
0x03,0x04,0x02,0x4C,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x01,0x18,0x00,0x40,
0x01,0x10,0x20,0x41,0x04,0x8A,0x0C,0x43,0x80,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x06,0x07,0x80,0x40,0x3F,0xFF,0x80,0x40,0x08,0x33,0xB0,0x41,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x38,0x02,0x01,0x40,0x00,0x00,0x01,0x40,0x30,0xC1,0x00,0x40,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x80,
0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x80,0x00,0x80,
0x00,0x00,0x00,0x00,0x04,0x08,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x40,0x00,0x40,0x07,0xFC,0x07,0xFE,0x02,0x0C,0x07,0xFC,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x40,0x0F,0xFF,0x04,0x04,0x00,0x00,0x02,0x08,0x04,0x44,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x3F,0xFF,0x88,0x01,0x07,0xFC,0x00,0x00,
0x1F,0xC8,0x07,0xFC,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x02,0x08,0x10,0x02,
0x04,0x04,0x00,0x00,0x05,0x1F,0x84,0x44,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x02,0x08,0x07,0xF8,0x07,0xFC,0x1F,0xFF,0x84,0x91,0x07,0xFC,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x02,0x08,0x00,0x10,0x01,0x10,0x00,0x40,0x08,0x71,0x00,0x40,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x01,0x10,0x00,0x20,0x01,0x10,0x00,0x40,
0x08,0x91,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x01,0x10,0x00,0x40,
0x11,0x12,0x04,0x48,0x18,0x8A,0x3F,0xFF,0x80,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0xA0,0x1F,0xFF,0x89,0x12,0x04,0x44,0x05,0x0A,0x00,0xE0,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x40,0x00,0x40,0x05,0x14,0x08,0x42,0x02,0x04,0x01,0x50,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0xA0,0x00,0x40,0x05,0x18,0x10,0x43,
0x03,0x04,0x02,0x4C,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x01,0x18,0x00,0x40,
0x01,0x10,0x20,0x41,0x04,0x8A,0x0C,0x43,0x80,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x06,0x07,0x80,0x40,0x3F,0xFF,0x80,0x40,0x08,0x33,0xB0,0x41,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x38,0x02,0x01,0x40,0x00,0x00,0x01,0x40,0x30,0xC1,0x00,0x40,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x80,
0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x80,0x00,0x80,0x00,0x00,0x00,0x00,0x04,0x08,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x40,0x00,0x40,0x07,0xFC,0x07,0xFE,0x02,0x0C,0x07,0xFC,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x40,0x0F,0xFF,0x04,0x04,0x00,0x00,
0x02,0x08,0x04,0x44,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x3F,0xFF,0x88,0x01,
0x07,0xFC,0x00,0x00,0x1F,0xC8,0x07,0xFC,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x02,0x08,0x10,0x02,0x04,0x04,0x00,0x00,0x05,0x1F,0x84,0x44,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x02,0x08,0x07,0xF8,0x07,0xFC,0x1F,0xFF,0x84,0x91,0x07,0xFC,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x02,0x08,0x00,0x10,0x01,0x10,0x00,0x40,
0x08,0x71,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x01,0x10,0x00,0x20,
0x01,0x10,0x00,0x40,0x08,0x91,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x01,0x10,0x00,0x40,0x11,0x12,0x04,0x48,0x18,0x8A,0x3F,0xFF,0x80,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0xA0,0x1F,0xFF,0x89,0x12,0x04,0x44,0x05,0x0A,0x00,0xE0,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x40,0x00,0x40,0x05,0x14,0x08,0x42,
0x02,0x04,0x01,0x50,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0xA0,0x00,0x40,
0x05,0x18,0x10,0x43,0x03,0x04,0x02,0x4C,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x01,0x18,0x00,0x40,0x01,0x10,0x20,0x41,0x04,0x8A,0x0C,0x43,0x80,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x06,0x07,0x80,0x40,0x3F,0xFF,0x80,0x40,0x08,0x33,0xB0,0x41,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x38,0x02,0x01,0x40,0x00,0x00,0x01,0x40,
0x30,0xC1,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x80,0x00,0x80,0x00,0x00,0x00,0x00,0x04,0x08,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x40,0x00,0x40,0x07,0xFC,0x07,0xFE,0x02,0x0C,0x07,0xFC,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x40,0x0F,0xFF,0x04,0x04,0x00,0x00,
0x02,0x08,0x04,0x44,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x3F,0xFF,0x88,0x01,
0x07,0xFC,0x00,0x00,0x1F,0xC8,0x07,0xFC,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x02,0x08,0x10,0x02,0x04,0x04,0x00,0x00,0x05,0x1F,0x84,0x44,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x02,0x08,0x07,0xF8,0x07,0xFC,0x1F,0xFF,0x84,0x91,0x07,0xFC,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x02,0x08,0x00,0x10,0x01,0x10,0x00,0x40,
0x08,0x71,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x01,0x10,0x00,0x20,
0x01,0x10,0x00,0x40,0x08,0x91,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x01,0x10,0x00,0x40,0x11,0x12,0x04,0x48,0x18,0x8A,0x3F,0xFF,0x80,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0xA0,0x1F,0xFF,0x89,0x12,0x04,0x44,0x05,0x0A,0x00,0xE0,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x40,0x00,0x40,0x05,0x14,0x08,0x42,
0x02,0x04,0x01,0x50,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0xA0,0x00,0x40,
0x05,0x18,0x10,0x43,0x03,0x04,0x02,0x4C,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x01,0x18,0x00,0x40,0x01,0x10,0x20,0x41,0x04,0x8A,0x0C,0x43,0x80,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x06,0x07,0x80,0x40,0x3F,0xFF,0x80,0x40,0x08,0x33,0xB0,0x41,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x38,0x02,0x01,0x40,0x00,0x00,0x01,0x40,
0x30,0xC1,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
0xA0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x05,0xBF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFD,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
};
//控制IC:UC1698u
//点阵数:160*160(SEG112--SEG271)
#include <reg52.h>
#include <intrins.h>
#define uchar unsigned char
#define uint unsigned int
#define ulong unsigned long
#define data_bus P1
sbit lcm_cd=P3^0; //L:Control data,H:Display data
sbit lcm_wr0=P3^1; //WR,L有效
sbit lcm_wr1=P3^2; //RD,L有效
sbit lcm_cs0=P3^3; //片选,L有效
sbit lcm_rst=P3^4; //复位,L有效
sbit led=P3^7; //复位,L有效
uchar code tab_init[]={
0xe2, //系统复位
0x89, //Set RAM Address Control
0xc4, //Set LCD Mapping Control
0xd1, //Set Color Pattern
0xd6, //Set Color Mode
0xf1,
0x9f, //Set COM End
0xf4,
0x25, //Set Window Program Starting Column Address
0xf5,
0x00, //Set Window Program Starting Row Address
0xf6,
0x5c, //Set Window Program Ending Column Address
0xf7,
0x9f, //Set Window Program Ending Row Address
0xf8, //Window Program Mode
0x2a, //Set Power Control
0xeb, //Set LCD Bias Ratio
0x81,
138, //Set VBIAS Potentiometer
0xad //Set Display Enable
};
uchar code tab1[]={
/*------------------------------------------------------------------------------
; 源文件 / 文字 : E:168160.bmp液晶模块
; 宽×高(像素): 168×160
------------------------------------------------------------------------------*/
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x80,0x00,0x03,0x00,0x01,0xF8,0x00,0x3E,0x00,0x00,0x00,0x00,0x30,0x00,0x1F,0x80,
0x03,0xE0,0x00,0x01,0x00,0x80,0x00,0x07,0x00,0x03,0x8C,0x00,0xE3,0x80,0x00,0x00,
0x00,0x70,0x00,0x38,0xC0,0x0E,0x38,0x00,0x01,0x00,0x80,0x00,0x7F,0x00,0x06,0x0E,
0x01,0xC1,0xC0,0x00,0x00,0x07,0xF0,0x00,0x60,0xE0,0x1C,0x1C,0x00,0x01,0x00,0x80,
0x00,0x07,0x00,0x0C,0x0E,0x01,0xC0,0xC0,0x03,0x80,0x00,0x70,0x00,0xC0,0xE0,0x1C,
0x0C,0x00,0x01,0x00,0x80,0x00,0x07,0x00,0x1C,0x0E,0x03,0x80,0xE0,0x07,0x80,0x00,
0x70,0x01,0xC0,0xE0,0x38,0x0E,0x00,0x01,0x00,0x80,0x00,0x07,0x00,0x1C,0x00,0x03,
0x80,0xE0,0x07,0x80,0x00,0x70,0x01,0xC0,0x00,0x38,0x0E,0x00,0x01,0x00,0x80,0x00,
0x07,0x00,0x18,0x00,0x03,0x80,0x60,0x07,0x80,0x00,0x70,0x01,0x80,0x00,0x38,0x06,
0x00,0x01,0x00,0x80,0x00,0x07,0x00,0x38,0x00,0x07,0x00,0x71,0xE3,0x1E,0x00,0x70,
0x03,0x80,0x00,0x70,0x07,0x00,0x01,0x00,0x80,0x00,0x07,0x00,0x39,0xF8,0x07,0x00,
0x71,0xF3,0x3E,0x00,0x70,0x03,0x9F,0x80,0x70,0x07,0x00,0x01,0x00,0x80,0x00,0x07,
0x00,0x3F,0x1C,0x07,0x00,0x70,0x7B,0x78,0x00,0x70,0x03,0xF1,0xC0,0x70,0x07,0x00,
0x01,0x00,0x80,0x00,0x07,0x00,0x3E,0x0E,0x07,0x00,0x70,0x1F,0xE0,0x00,0x70,0x03,
0xE0,0xE0,0x70,0x07,0x00,0x01,0x00,0x80,0x00,0x07,0x00,0x3C,0x0E,0x07,0x00,0x70,
0x07,0x80,0x00,0x70,0x03,0xC0,0xE0,0x70,0x07,0x00,0x01,0x00,0x80,0x00,0x07,0x00,
0x38,0x07,0x07,0x00,0x70,0x1F,0xE0,0x00,0x70,0x03,0x80,0x70,0x70,0x07,0x00,0x01,
0x00,0x80,0x00,0x07,0x00,0x38,0x07,0x07,0x00,0x70,0x7B,0x78,0x00,0x70,0x03,0x80,
0x70,0x70,0x07,0x00,0x01,0x00,0x80,0x00,0x07,0x00,0x38,0x07,0x07,0x00,0x71,0xF3,
0x3E,0x00,0x70,0x03,0x80,0x70,0x70,0x07,0x00,0x01,0x00,0x80,0x00,0x07,0x00,0x38,
0x07,0x07,0x00,0x71,0xE3,0x1E,0x00,0x70,0x03,0x80,0x70,0x70,0x07,0x00,0x01,0x00,
0x80,0x00,0x07,0x00,0x38,0x07,0x03,0x00,0x60,0x07,0x80,0x00,0x70,0x03,0x80,0x70,
0x30,0x06,0x00,0x01,0x00,0x80,0x00,0x07,0x00,0x18,0x07,0x03,0x80,0xE0,0x07,0x80,
0x00,0x70,0x01,0x80,0x70,0x38,0x0E,0x00,0x01,0x00,0x80,0x00,0x07,0x00,0x1C,0x07,
0x03,0x80,0xE0,0x07,0x80,0x00,0x70,0x01,0xC0,0x70,0x38,0x0E,0x00,0x01,0x00,0x80,
0x00,0x07,0x00,0x1C,0x0E,0x01,0xC0,0xC0,0x07,0x80,0x00,0x70,0x01,0xC0,0xE0,0x1C,
0x0C,0x00,0x01,0x00,0x80,0x00,0x07,0x00,0x0E,0x0E,0x01,0xC1,0xC0,0x00,0x00,0x00,
0x70,0x00,0xE0,0xE0,0x1C,0x1C,0x00,0x01,0x00,0x80,0x00,0x0F,0x80,0x07,0x1C,0x00,
0xE3,0x80,0x00,0x00,0x00,0xF8,0x00,0x71,0xC0,0x0E,0x38,0x00,0x01,0x00,0x80,0x00,
0x7F,0xF0,0x03,0xF0,0x00,0x3E,0x00,0x00,0x00,0x07,0xFF,0x00,0x3F,0x00,0x03,0xE0,
0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x80,0x06,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0xE0,0x00,0x00,0x00,0x00,0xE0,0x00,0x01,0x00,0x80,0x07,0xFF,0xFF,0xFF,0x00,
0x00,0x01,0x80,0xE0,0x00,0x00,0xE0,0x00,0x00,0xC0,0xC0,0xE0,0x00,0x01,0x00,0x80,
0x07,0x07,0x00,0x06,0x00,0x00,0x03,0xC1,0xF0,0x00,0x00,0xE0,0x00,0x00,0xFF,0xE1,
0xC0,0x00,0x01,0x00,0x80,0x07,0x07,0x80,0x06,0x00,0xFF,0xFE,0x01,0xC0,0x00,0x00,
0xE0,0x00,0x00,0xE1,0xC1,0xC0,0x00,0x01,0x00,0x80,0x07,0x07,0x03,0x06,0x00,0x0E,
0x1C,0x03,0x80,0x00,0x00,0xE0,0x0E,0x00,0xE1,0x81,0xC0,0x70,0x01,0x00,0x80,0x07,
0x0E,0x07,0x86,0x00,0x0E,0x1C,0x07,0x00,0x00,0x00,0xFF,0xFF,0x00,0xE3,0xBF,0xFF,
0xF8,0x01,0x00,0x80,0x07,0x0F,0xFF,0x86,0x00,0x0E,0x1C,0x0E,0x00,0x00,0x00,0xE0,
0x00,0x00,0xE3,0x03,0x80,0x00,0x01,0x00,0x80,0x07,0x1E,0x0F,0x06,0x00,0x0E,0x1C,
0x0C,0x00,0x00,0x00,0xE0,0x00,0x00,0xE7,0x03,0x80,0x00,0x01,0x00,0x80,0x07,0x1B,
0x0E,0x06,0x00,0x0E,0x1C,0x18,0x00,0x00,0x00,0xE0,0x00,0x00,0xE6,0x03,0x30,0x00,
0x01,0x00,0x80,0x07,0x3B,0x1C,0x06,0x00,0x0E,0x1C,0x30,0x00,0x00,0x00,0xE0,0x00,
0x00,0xE6,0x07,0x3C,0x00,0x01,0x00,0x80,0x07,0x31,0xB8,0x06,0x00,0x0E,0x1C,0xE0,
0x60,0x00,0x00,0xE0,0x30,0x00,0xEC,0x07,0x38,0x00,0x01,0x00,0x80,0x07,0x61,0xF0,
0x06,0x00,0x0E,0x1C,0xC0,0xF0,0x00,0xFF,0xFF,0xF8,0x00,0xE6,0x06,0x38,0x00,0x01,
0x00,0x80,0x07,0xC0,0xE0,0x06,0x00,0x0E,0x1D,0xE1,0xF0,0x00,0xE0,0x00,0x78,0x00,
0xE7,0x0E,0x38,0x00,0x01,0x00,0x80,0x07,0x01,0xF0,0x06,0x00,0xFF,0xFF,0x01,0xC0,
0x00,0xE0,0x00,0x70,0x00,0xE3,0x8E,0x38,0x60,0x01,0x00,0x80,0x07,0x03,0xBC,0x06,
0x00,0x0E,0x1C,0x03,0x80,0x00,0xE0,0x00,0x70,0x00,0xE1,0x9C,0x38,0xF0,0x01,0x00,
0x80,0x07,0x07,0x1F,0x06,0x00,0x0E,0x1C,0x07,0x00,0x00,0xE0,0x00,0x70,0x00,0xE1,
0xDF,0xFF,0x80,0x01,0x00,0x80,0x07,0x1C,0x07,0xFE,0x00,0x0E,0x1C,0x0E,0x00,0x00,
0xE0,0x00,0x70,0x00,0xE1,0xC0,0x38,0x00,0x01,0x00,0x80,0x07,0x71,0xE3,0xF6,0x00,
0x0E,0x1C,0x18,0x00,0x00,0xE0,0x00,0x70,0x00,0xE0,0xE0,0x38,0x00,0x01,0x00,0x80,
0x07,0xC0,0xF8,0x66,0x00,0x0C,0x1C,0x70,0x00,0x00,0xE0,0x00,0x70,0x00,0xE1,0xE0,
0x38,0x00,0x01,0x00,0x80,0x07,0x00,0x3C,0x06,0x00,0x1C,0x1C,0xC0,0x38,0x00,0xE0,
0x00,0x70,0x00,0xE1,0xC0,0x38,0x00,0x01,0x00,0x80,0x07,0x00,0x1C,0x06,0x00,0x1C,
0x1D,0x80,0x3C,0x00,0xFF,0xFF,0xF0,0x00,0xFF,0xC0,0x38,0x18,0x01,0x00,0x80,0x07,
0x00,0x00,0x06,0x00,0x1C,0x1C,0x00,0x78,0x00,0xE0,0x00,0x70,0x00,0xEF,0x80,0x38,
0x3C,0x01,0x00,0x80,0x07,0x0F,0xC0,0x06,0x00,0x18,0x1C,0x00,0xF0,0x00,0xE0,0x00,
0x60,0x00,0xE7,0x3F,0xFF,0xE0,0x01,0x00,0x80,0x07,0x01,0xFC,0x06,0x00,0x38,0x1C,
0x01,0xE0,0x00,0x00,0x00,0x00,0x00,0xE0,0x00,0x38,0x00,0x01,0x00,0x80,0x07,0x00,
0x3E,0x06,0x00,0x30,0x1C,0x03,0xC0,0x01,0x8C,0x18,0x18,0x00,0xE0,0x00,0x38,0x00,
0x01,0x00,0x80,0x07,0x00,0x0E,0x06,0x00,0x70,0x1C,0x07,0x00,0x01,0x86,0x0E,0x0E,
0x00,0xE0,0x00,0x38,0x00,0x01,0x00,0x80,0x07,0x00,0x06,0x06,0x00,0x60,0x1C,0x1E,
0x00,0x03,0x07,0x07,0x0F,0x00,0xE0,0x00,0x38,0x00,0x01,0x00,0x80,0x07,0x00,0x00,
0x07,0x00,0xC0,0x1C,0x38,0x00,0x07,0x03,0x87,0x07,0x00,0xE0,0x00,0x38,0x00,0x01,
0x00,0x80,0x07,0xFF,0xFF,0xFF,0x00,0xC0,0x1C,0x70,0x00,0x0F,0x03,0x87,0x07,0x80,
0xE0,0x00,0x38,0x00,0x01,0x00,0x80,0x07,0x00,0x00,0x07,0x01,0x80,0x19,0xC0,0x00,
0x1E,0x03,0x87,0x03,0x80,0xE0,0x00,0x38,0x00,0x01,0x00,0x80,0x07,0x00,0x00,0x06,
0x03,0x00,0x0F,0x00,0x00,0x0E,0x00,0x00,0x03,0x00,0xC0,0x00,0x38,0x00,0x01,0x00,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,
0x00,0x0E,0x00,0x00,0x00,0x00,0x06,0x00,0x01,0xE0,0x3C,0xF0,0x00,0x18,0x01,0xE0,
0x00,0x01,0x00,0x80,0x00,0x00,0x07,0x00,0x00,0x03,0xFF,0xFF,0x00,0x01,0xC0,0x38,
0xE0,0x00,0x1E,0x01,0xC0,0x00,0x01,0x00,0x80,0x07,0x00,0x07,0x80,0x00,0x03,0x80,
0x0F,0x00,0x01,0xC0,0x38,0xE0,0x00,0x1C,0x01,0xC0,0x00,0x01,0x00,0x80,0x03,0xC0,
0x03,0x83,0x80,0x03,0x80,0x0E,0x00,0x01,0xC0,0x38,0xE3,0x80,0x1C,0x01,0xC0,0x00,
0x01,0x00,0x80,0x01,0xCF,0xFF,0xFF,0xC0,0x03,0x80,0x0E,0x00,0x01,0xC7,0xFF,0xFF,
0xE0,0x1C,0x01,0xC0,0x00,0x01,0x00,0x80,0x01,0xE0,0x00,0x00,0x00,0x03,0x80,0x0E,
0x00,0x01,0xC0,0x38,0xE0,0x00,0x1C,0x01,0xC0,0x00,0x01,0x00,0x80,0x00,0xC0,0xC3,
0x00,0x00,0x03,0xFF,0xFE,0x00,0x01,0xCC,0x38,0xE0,0x00,0x1C,0x01,0xC1,0x80,0x01,
0x00,0x80,0x00,0x00,0xF3,0xC0,0x00,0x03,0x80,0x0E,0x00,0x7F,0xFE,0x38,0xE0,0x00,
0x1C,0x3F,0xFF,0xC0,0x01,0x00,0x80,0x00,0x01,0xE3,0x80,0x00,0x03,0x80,0x0E,0x00,
0x31,0xC3,0x80,0x0C,0x00,0x1C,0x01,0xC1,0xC0,0x01,0x00,0x80,0x00,0x31,0xC7,0x00,
0x00,0x03,0x80,0x0E,0x00,0x01,0xC0,0xFF,0xFE,0x00,0x1C,0xE1,0xC1,0xC0,0x01,0x00,
0x80,0x38,0x31,0x87,0x0E,0x00,0x03,0x80,0x0E,0x00,0x03,0xC0,0xC0,0x1C,0x03,0xFF,
0xF1,0xC1,0xC0,0x01,0x00,0x80,0x1C,0x33,0x87,0xFF,0x00,0x03,0xFF,0xFE,0x00,0x03,
0xC0,0xC0,0x1C,0x00,0x1C,0x01,0xC1,0xC0,0x01,0x00,0x80,0x0E,0x63,0x0E,0x0E,0x00,
0x03,0x80,0x0E,0x00,0x03,0xE0,0xC0,0x1C,0x00,0x1C,0x01,0xC1,0xC0,0x01,0x00,0x80,
0x0F,0x67,0x0F,0x0E,0x00,0x03,0x80,0x0C,0x00,0x03,0xF8,0xFF,0xFC,0x00,0x1C,0x01,
0xC1,0xC0,0x01,0x00,0x80,0x07,0x67,0x9D,0xCC,0x00,0x00,0x00,0x00,0x00,0x07,0xDC,
0xC0,0x1C,0x00,0x1C,0x01,0xC1,0xC0,0x01,0x00,0x80,0x06,0xCF,0x1D,0xFC,0x00,0xE0,
0x30,0xC0,0x70,0x07,0xDE,0xC0,0x1C,0x00,0x1C,0x01,0xC1,0xC0,0x01,0x00,0x80,0x00,
0xDF,0x3C,0xFC,0x00,0xFF,0xF8,0xFF,0xF8,0x07,0xCE,0xC0,0x1C,0x00,0x1C,0x01,0xC1,
0xF8,0x01,0x00,0x80,0x00,0xDB,0x3C,0xFC,0x00,0xE0,0x70,0xC0,0x70,0x0F,0xCC,0xFF,
0xFC,0x00,0x1F,0xFF,0xFF,0xFC,0x01,0x00,0x80,0x01,0xB3,0x66,0x38,0x00,0xE0,0x70,
0xC0,0x70,0x0D,0xC0,0xC7,0x1C,0x00,0x1C,0x03,0xE0,0x00,0x01,0x00,0x80,0x01,0xE3,
0x66,0x38,0x00,0xE0,0x70,0xC0,0x70,0x19,0xC1,0x87,0x18,0x00,0x1C,0x03,0xB0,0x00,
0x01,0x00,0x80,0x03,0xC3,0x07,0x30,0x00,0x60,0x70,0xC0,0x70,0x19,0xC0,0x06,0x00,
0x00,0x1C,0x03,0xB0,0x00,0x01,0x00,0x80,0x03,0x83,0x03,0x70,0x00,0x60,0x70,0xC0,
0x70,0x31,0xC0,0x0E,0x03,0x80,0x1C,0xF3,0xB8,0x00,0x01,0x00,0x80,0x1F,0x03,0x03,
0xE0,0x00,0x7F,0xF0,0xFF,0xF0,0x61,0xCF,0xFF,0xFF,0xC0,0x1F,0x87,0x18,0x00,0x01,
0x00,0x80,0x07,0x03,0x01,0xE0,0x00,0x60,0x70,0xC0,0x70,0x01,0xC0,0x0F,0x80,0x01,
0xFC,0x07,0x1C,0x00,0x01,0x00,0x80,0x07,0x03,0x01,0xE0,0x00,0x60,0x70,0xC0,0x70,
0x01,0xC0,0x1C,0xC0,0x03,0xF0,0x0E,0x0E,0x00,0x01,0x00,0x80,0x07,0x03,0x03,0xF0,
0x00,0x60,0x70,0xC0,0x70,0x01,0xC0,0x1C,0xE0,0x03,0xC0,0x1C,0x07,0x00,0x01,0x00,
0x80,0x07,0x03,0x07,0x78,0x00,0xE0,0x70,0xC0,0x70,0x01,0xC0,0x38,0x70,0x00,0x00,
0x3C,0x07,0x80,0x01,0x00,0x80,0x07,0x03,0x0E,0x3E,0x00,0xE0,0x70,0xC0,0x70,0x01,
0xC0,0x70,0x38,0x00,0x00,0x70,0x03,0xE0,0x01,0x00,0x80,0x0F,0x03,0x1C,0x1F,0xC0,
0xFF,0xF0,0xFF,0xF0,0x01,0xC0,0xE0,0x1F,0x00,0x01,0xE0,0x01,0xF8,0x01,0x00,0x80,
0x0F,0x03,0xB8,0x07,0x80,0xE0,0x70,0xC0,0x70,0x01,0xC3,0xC0,0x0F,0xC0,0x03,0x80,
0x00,0xFC,0x01,0x00,0x80,0x03,0x03,0xF0,0x03,0x00,0xE0,0x60,0xC0,0x60,0x01,0xCF,
0x00,0x07,0x00,0x1E,0x00,0x00,0x70,0x01,0x00,0x80,0x00,0x00,0xC0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00};
uchar code tab2[]={
/*------------------------------------------------------------------------------
; 源文件 / 文字 : E:168160汉字.bmp
; 宽×高(像素): 168×160
------------------------------------------------------------------------------*/
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x81,0x10,0x10,0x04,0x00,0x00,0x04,0x01,
0x00,0x20,0x00,0x44,0x00,0x08,0x00,0x04,0x08,0x04,0x02,0x01,0x00,0x81,0x12,0x0B,
0xFE,0x00,0x00,0x04,0x20,0xBF,0xF0,0x04,0x44,0x1F,0xC8,0x1F,0xFE,0x08,0xFE,0x01,
0x11,0x00,0xBF,0xFF,0x28,0x04,0x00,0x00,0xFF,0xF0,0x85,0x00,0x02,0x84,0x85,0x08,
0x00,0x80,0x08,0x84,0x7F,0xF9,0x00,0x81,0x10,0x20,0x04,0x00,0x00,0x04,0x00,0x1F,
0xE0,0x01,0x3F,0xC5,0x0F,0x80,0x80,0x08,0x84,0x08,0x41,0x00,0x81,0x10,0x23,0xE4,
0x00,0x00,0x3F,0xC2,0x15,0x20,0x02,0xA4,0x8F,0xD0,0x80,0x82,0x7E,0x84,0x04,0x81,
0x00,0x82,0x20,0x22,0x24,0x00,0x08,0x00,0x01,0x55,0x20,0x0C,0xA4,0x8A,0x50,0x9F,
0xFF,0x08,0xFC,0xFF,0xFD,0x00,0x82,0x22,0x22,0x24,0xFF,0xFC,0xFF,0xF1,0x55,0x20,
0x00,0xA4,0x8A,0x68,0x80,0xA0,0x1C,0x84,0x02,0x01,0x00,0x84,0x2C,0x23,0xE4,0x00,
0x00,0x89,0x10,0x99,0xE0,0x01,0xA4,0x8D,0xC4,0x80,0xA0,0x1A,0x84,0x02,0x01,0x00,
0x8C,0x30,0x22,0x24,0x00,0x01,0x09,0x00,0x90,0x20,0x02,0xBF,0x88,0x44,0x80,0xA0,
0x28,0xFC,0x7F,0xF9,0x00,0x94,0x60,0x22,0x24,0x00,0x00,0x49,0x23,0x9F,0xE0,0x04,
0xA4,0x0F,0xC0,0x81,0x20,0x28,0x84,0x02,0x01,0x00,0xA5,0xA1,0x23,0xE4,0x00,0x00,
0x29,0x40,0x90,0x20,0x08,0x85,0x08,0x40,0x81,0x21,0x48,0x84,0x12,0x61,0x00,0x84,
0x21,0x20,0x04,0x00,0x00,0x29,0x80,0x90,0x23,0x00,0x84,0x88,0x40,0x82,0x21,0x08,
0x84,0x22,0x11,0x00,0x84,0x21,0x20,0x14,0x00,0x00,0x09,0x00,0x9F,0xE3,0x05,0x7F,
0x4F,0xC5,0x04,0x21,0x08,0xFC,0x4A,0x09,0x00,0x84,0x1F,0x20,0x08,0x00,0x00,0xFF,
0xF0,0x90,0x21,0x02,0x20,0x48,0x42,0x18,0x1F,0x08,0x84,0x04,0x01,0x00,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x88,0x84,0x08,
0x04,0x01,0x10,0x00,0x10,0x00,0x00,0x00,0x01,0x00,0x21,0x00,0x40,0x00,0x00,0x02,
0x01,0x00,0x84,0x44,0x0B,0xFE,0x42,0x10,0x03,0xF8,0x3F,0xC0,0x00,0x01,0x07,0xF1,
0x00,0x48,0x00,0x08,0x02,0x01,0x00,0x84,0x48,0x08,0x10,0x27,0xA0,0xFA,0x10,0x20,
0x40,0x0F,0xC1,0x04,0x22,0x00,0x44,0x3F,0xFC,0x02,0x01,0x00,0xBF,0xFF,0x08,0x10,
0x24,0xBC,0x8A,0x10,0x20,0x40,0x00,0x41,0x07,0xE4,0x0F,0xFF,0x00,0x00,0x02,0x01,
0x00,0x82,0x10,0x7E,0x20,0x07,0xC8,0x8B,0xF0,0x3F,0xC0,0x04,0x5F,0xC4,0x28,0x08,
0x40,0x00,0x00,0x02,0x01,0x00,0x82,0x10,0x08,0x20,0xE4,0xA8,0xFA,0x10,0x20,0x40,
0x02,0x81,0x1F,0xF1,0x08,0x40,0x00,0x00,0x02,0x01,0x00,0x84,0x88,0x1C,0x60,0x2F,
0xA8,0x8A,0x10,0x20,0x40,0x02,0x91,0x00,0x02,0x0F,0x44,0x00,0x10,0x05,0x01,0x00,
0x8B,0xF7,0x1A,0xA8,0x22,0x10,0x8A,0x10,0x20,0x40,0x01,0x09,0x07,0xE4,0x09,0x24,
0x1F,0xF8,0x05,0x01,0x00,0xB0,0x82,0x29,0x24,0x27,0x90,0xFB,0xF0,0x3F,0xC0,0x01,
0x09,0x04,0x28,0x09,0x28,0x00,0x00,0x04,0x81,0x00,0x80,0x80,0x2A,0x22,0x24,0xA8,
0x8A,0x10,0x20,0x40,0x02,0x89,0x07,0xE0,0x89,0x28,0x00,0x00,0x08,0x41,0x00,0x9F,
0xFE,0x48,0x20,0x29,0x44,0x82,0x10,0x40,0x40,0x02,0x41,0x02,0xC1,0x09,0x11,0x00,
0x00,0x08,0x21,0x00,0x80,0x80,0x08,0x20,0x52,0x84,0x04,0x10,0x40,0x43,0x04,0x41,
0x04,0xA2,0x17,0x29,0x00,0x04,0x10,0x11,0x00,0x80,0x80,0x08,0x20,0x88,0x00,0x08,
0x50,0x81,0x43,0x08,0x05,0x0A,0x8C,0x10,0x45,0x7F,0xFE,0x20,0x0D,0x00,0x80,0x80,
0x08,0x20,0x07,0xFC,0x10,0x21,0x00,0x81,0x00,0x02,0x11,0x30,0x21,0x83,0x00,0x00,
0xC0,0x09,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,
0x04,0x00,0x08,0x40,0x10,0x82,0x00,0x00,0x10,0x82,0x08,0x00,0x10,0x00,0x40,0x02,
0x01,0x00,0x83,0xFC,0x3E,0xFE,0xFF,0xFC,0x43,0xF8,0x82,0x00,0x03,0xF8,0x82,0x08,
0x1E,0x12,0x07,0x50,0x04,0x21,0x00,0x82,0x04,0x22,0x20,0x01,0x00,0x78,0x90,0x82,
0x00,0x02,0x11,0x04,0x0A,0x12,0xFF,0x3C,0x48,0x1F,0xF1,0x00,0x82,0x04,0x22,0xA0,
0x01,0x00,0x90,0x90,0xF7,0xE0,0x03,0xF2,0x08,0xFF,0x15,0x20,0x04,0x48,0x10,0x21,
0x00,0x83,0xFC,0x3E,0xA0,0x02,0x01,0xFD,0x51,0x14,0x20,0x02,0x14,0x12,0x08,0x19,
0x3E,0x3F,0xFC,0x1F,0xE1,0x00,0x82,0x04,0x22,0xA4,0x06,0x40,0xA6,0x22,0xA9,0x40,
0x0F,0xF8,0x82,0x09,0x14,0x62,0x04,0x40,0x10,0x21,0x00,0x82,0x04,0x3E,0xFE,0x0A,
0x20,0xFD,0x40,0x81,0x00,0x00,0x01,0x05,0xFF,0x93,0xBE,0x04,0x48,0x1F,0xE9,0x00,
0x82,0x04,0x20,0x20,0x12,0x10,0xA5,0xF0,0x81,0x00,0x03,0xF2,0x0C,0x48,0x12,0xA2,
0x07,0x48,0x10,0x31,0x00,0x83,0xFC,0x20,0x30,0x22,0x08,0xA6,0x40,0x81,0x00,0x02,
0x14,0x14,0x48,0x12,0xBE,0x0C,0x50,0x7F,0xE1,0x00,0x82,0x04,0x24,0x50,0xC2,0x08,
0xFF,0xF8,0x82,0x80,0x03,0xF0,0x44,0x4F,0x9A,0xA2,0x74,0x20,0x00,0xA1,0x00,0x84,
0x04,0x26,0x50,0x02,0x00,0xA4,0x40,0x92,0x80,0x01,0x60,0x84,0x48,0x14,0xA2,0x04,
0x62,0x01,0x21,0x00,0x84,0x04,0x2A,0x92,0x02,0x00,0xA4,0x40,0xA4,0x43,0x02,0x51,
0x04,0xA8,0x10,0xA6,0x05,0x92,0x06,0x21,0x00,0x88,0x14,0x31,0x12,0x02,0x01,0x24,
0x40,0xC8,0x33,0x05,0x46,0x04,0x98,0x11,0x40,0x14,0x0A,0x18,0xA1,0x00,0x90,0x08,
0x02,0x0E,0x02,0x01,0x0C,0x40,0x10,0x21,0x08,0x98,0x05,0x07,0x92,0x3F,0x08,0x06,
0x60,0x41,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x84,0x02,0x08,
0x40,0x00,0x00,0x22,0x00,0x04,0x20,0x01,0x01,0x00,0x0E,0x02,0x02,0x00,0x20,0x00,
0x21,0x00,0x84,0x27,0x08,0x40,0x0F,0xF0,0x22,0x20,0xFE,0x20,0x01,0x3F,0x83,0xF0,
0x04,0xFF,0x1F,0xF0,0x00,0x21,0x00,0xBF,0xB8,0x0A,0x48,0x08,0x10,0x23,0xF0,0x84,
0x40,0x02,0x00,0x02,0x00,0x08,0x10,0x02,0x20,0x78,0x21,0x00,0x8A,0x20,0x11,0x48,
0x08,0x11,0x24,0x20,0xFC,0x80,0x04,0x80,0x02,0x20,0x10,0x7E,0x02,0x20,0x4B,0xFD,
0x00,0x9F,0xBF,0x11,0x50,0x0F,0xF0,0xAA,0x40,0x85,0x00,0x08,0x80,0x84,0x20,0x22,
0x42,0x02,0x48,0x48,0x21,0x00,0x82,0x24,0x33,0xFC,0x08,0x10,0xA2,0x83,0xFE,0x20,
0x01,0x7F,0xC4,0x20,0x04,0x52,0x02,0x7C,0x48,0x21,0x00,0x87,0xA4,0x50,0x40,0x08,
0x10,0x21,0x20,0x00,0x40,0x03,0x02,0x07,0xFF,0x08,0x52,0x05,0x08,0x79,0x21,0x00,
0xBA,0x44,0x10,0x40,0x08,0x10,0x22,0x20,0xFC,0x80,0x05,0x02,0x00,0x20,0x10,0x52,
0x05,0x08,0x48,0xA1,0x00,0x87,0xFC,0x17,0xFE,0x0F,0xF0,0x6F,0xF8,0x85,0x00,0x09,
0x02,0x01,0x28,0x22,0x52,0x04,0x90,0x48,0xA1,0x00,0x84,0x04,0x10,0x40,0x08,0x10,
0xA4,0x20,0xFC,0x10,0x01,0x02,0x01,0x24,0x02,0x52,0x08,0xA0,0x48,0x21,0x00,0x87,
0xFC,0x10,0x40,0x10,0x11,0x22,0x20,0x58,0x20,0x01,0x02,0x02,0x22,0x04,0x18,0x08,
0x40,0x78,0x21,0x00,0x84,0x04,0x10,0x40,0x10,0x10,0x20,0x20,0x94,0x43,0x01,0x02,
0x04,0x21,0x08,0x24,0x10,0xB0,0x48,0x21,0x00,0x84,0x04,0x10,0x40,0x20,0x50,0x20,
0xA1,0x51,0x83,0x01,0x0A,0x08,0xA1,0x30,0x42,0x23,0x0E,0x40,0xA1,0x00,0x87,0xFC,
0x10,0x40,0x40,0x20,0x20,0x42,0x26,0x01,0x01,0x04,0x00,0x40,0x01,0x81,0x4C,0x04,
0x00,0x41,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x20,0x00,
0x20,0x00,0x00,0x22,0x40,0x40,0x00,0x00,0x08,0x04,0x00,0x00,0x42,0x00,0x10,0x04,
0x41,0x00,0x83,0xA8,0x7F,0xA0,0x0F,0xF0,0x22,0x40,0x40,0x20,0x00,0xEA,0x04,0x02,
0x0F,0xE2,0x1F,0xF8,0x1E,0x41,0x00,0x9E,0x24,0x01,0x20,0x08,0x10,0x42,0x40,0x9F,
0xF0,0x07,0x89,0x0F,0xFF,0x08,0x44,0x01,0x00,0x68,0x41,0x00,0x82,0x24,0x3D,0x7E,
0x08,0x10,0x9E,0x79,0x10,0x20,0x00,0x89,0x12,0xA4,0x0F,0xC8,0x3F,0xFE,0x08,0x41,
0x00,0x9F,0xFE,0x25,0x42,0x0F,0xF1,0x22,0x42,0x57,0xA0,0x07,0xFF,0x8F,0xFF,0x08,
0x50,0x25,0x24,0x08,0x41,0x00,0x82,0x20,0x3D,0x94,0x08,0x10,0x22,0x40,0x54,0xA0,
0x00,0x88,0x02,0xA4,0x3F,0xE2,0x43,0x40,0xFF,0x41,0x00,0x82,0x24,0x01,0x10,0x08,
0x10,0x4E,0x70,0x94,0xA0,0x00,0x89,0x1F,0xFF,0x80,0x04,0x1D,0xB8,0x08,0x41,0x00,
0x83,0xA4,0x7F,0x90,0x08,0x10,0xC2,0x41,0x94,0xA0,0x00,0xE9,0x02,0x04,0x0F,0xC8,
0x02,0x60,0x08,0x41,0x00,0x86,0x28,0x01,0x10,0x0F,0xF1,0x42,0x42,0x94,0xA0,0x01,
0x8A,0x07,0xBF,0x08,0x50,0x0D,0x1E,0x7E,0x41,0x00,0xBA,0x10,0x3D,0x28,0x08,0x10,
0x5E,0x78,0x97,0xA0,0x0E,0x84,0x08,0xA4,0x0F,0xC1,0x77,0xE4,0x42,0x41,0x00,0x82,
0x31,0x25,0x28,0x10,0x10,0x42,0x40,0x90,0x20,0x00,0x8C,0x55,0x24,0x05,0x82,0x00,
0x40,0x42,0x45,0x00,0x82,0xC9,0x3D,0x44,0x10,0x10,0x42,0x40,0x90,0x23,0x00,0xB2,
0x42,0x7F,0x89,0x44,0x06,0x80,0x42,0x45,0x00,0x8A,0x05,0x01,0x44,0x20,0x50,0x42,
0x40,0x9F,0xE3,0x02,0x81,0x44,0x04,0x15,0x18,0x01,0x00,0x7E,0x45,0x00,0x84,0x03,
0x02,0x82,0x40,0x20,0x42,0x40,0x90,0x21,0x01,0x00,0xD8,0x04,0x22,0x60,0x00,0xC0,
0x42,0x3D,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x02,0x00,
0x10,0x00,0x08,0x04,0x00,0x02,0x00,0x00,0x04,0x00,0x02,0x02,0x00,0x00,0x40,0x24,
0x41,0x00,0xBF,0x7F,0x00,0x10,0x3F,0xFC,0x02,0x10,0x02,0x00,0x0F,0xC2,0x00,0x1F,
0x03,0xF0,0x02,0x40,0x24,0x41,0x00,0x8A,0x42,0x3C,0x10,0x20,0x09,0xFF,0xFB,0xF2,
0x00,0x02,0xBF,0xC7,0xE0,0x04,0x10,0x02,0x20,0xFE,0x49,0x00,0x9F,0x7E,0x25,0xFE,
0x2F,0xE8,0x00,0x00,0x13,0xF0,0x02,0x89,0x04,0x00,0x0A,0x20,0x04,0x20,0x24,0x7D,
0x00,0x95,0x42,0x24,0x10,0x20,0x08,0x10,0x41,0x14,0x10,0x07,0xC9,0x07,0xFF,0x11,
0x40,0x08,0x10,0x24,0x91,0x00,0x95,0x7E,0x24,0x10,0x20,0x08,0x20,0x20,0xA5,0x20,
0x05,0x55,0x84,0x00,0x00,0x80,0x10,0x08,0xFE,0x91,0x00,0x95,0x08,0x3C,0x90,0x27,
0xC8,0x50,0x90,0xA9,0x00,0x05,0x52,0x44,0x02,0x01,0x60,0x6F,0xF6,0x01,0x91,0x00,
0x9B,0x48,0x24,0x50,0x24,0x48,0x90,0x80,0x41,0x00,0x06,0xE2,0x04,0xFF,0x02,0x18,
0x02,0x10,0x7C,0x51,0x00,0x91,0x7F,0x24,0x50,0x24,0x48,0x09,0x00,0x41,0x00,0x04,
0x42,0x04,0x82,0x0F,0xF7,0x02,0x10,0x44,0x51,0x00,0x91,0x88,0x24,0x10,0x27,0xC8,
0x05,0x00,0xA2,0x80,0x07,0xDF,0xC4,0x82,0x34,0x10,0x02,0x10,0x7C,0x21,0x00,0x9F,
0x7E,0x3C,0x10,0x24,0x48,0x02,0x00,0x92,0x80,0x04,0x42,0x04,0x82,0x04,0x10,0x02,
0x10,0x44,0x21,0x00,0x91,0x08,0x24,0x10,0x20,0x08,0x05,0x01,0x14,0x43,0x04,0x42,
0x08,0x82,0x04,0x10,0x04,0x10,0x7C,0x51,0x00,0x9F,0x08,0x20,0x50,0x20,0x28,0x18,
0xC2,0x08,0x23,0x07,0xC2,0x08,0xFE,0x07,0xF0,0x08,0xA0,0x44,0x8D,0x00,0x90,0xFF,
0x00,0x20,0x20,0x10,0xE0,0x38,0x10,0x11,0x04,0x02,0x10,0x82,0x04,0x10,0x30,0x40,
0x4D,0x09,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x81,0x80,0x08,
0x20,0x00,0x10,0x40,0x81,0x11,0x00,0x01,0x00,0x84,0x81,0x10,0x88,0x00,0x00,0x40,
0x11,0x00,0x80,0x40,0x08,0x20,0x7F,0xF8,0x4F,0xF8,0x89,0x00,0x01,0x1F,0xC4,0x9F,
0x89,0x10,0x00,0x10,0x27,0xF9,0x00,0x80,0x00,0x10,0x24,0x02,0x00,0x40,0x80,0x89,
0xF0,0x01,0x10,0x8F,0xD1,0x0A,0xBE,0x1F,0xF8,0x22,0x11,0x00,0x87,0xC0,0x13,0xFE,
0x02,0x00,0x67,0xF0,0x3E,0x00,0x01,0x10,0x84,0x91,0x02,0xE2,0x00,0x00,0x02,0x11,
0x00,0x80,0x44,0x24,0x20,0x02,0x09,0x50,0x82,0x11,0xE0,0x0F,0xD0,0x87,0x9F,0x01,
0x3E,0x00,0x00,0x8A,0x11,0x00,0x80,0x48,0x78,0x20,0x7F,0xFD,0x4F,0xF9,0x50,0x20,
0x01,0x1F,0x84,0x91,0x3A,0xA2,0x00,0x04,0x4A,0x21,0x00,0x9E,0x50,0x09,0xFC,0x02,
0x81,0x40,0x01,0x5C,0x40,0x03,0x90,0x84,0x91,0x09,0xBE,0x7F,0xFE,0x51,0x21,0x00,
0x82,0x60,0x10,0x00,0x02,0x80,0x47,0xE0,0x94,0x80,0x03,0x50,0x87,0x91,0x0A,0x54,
0x01,0x00,0x11,0x41,0x00,0x82,0x50,0x7C,0xFC,0x02,0x80,0x44,0x20,0x97,0xF0,0x05,
0x1F,0x84,0x9F,0x08,0xD4,0x01,0x00,0x21,0x41,0x00,0x84,0x48,0x20,0x84,0x04,0x80,
0x47,0xE3,0x14,0x80,0x05,0x10,0x9F,0xD1,0x0B,0x54,0x02,0x20,0xE0,0x81,0x00,0x88,
0x44,0x06,0x84,0x04,0x84,0x44,0x21,0x24,0x80,0x09,0x10,0x82,0x91,0x08,0x55,0x04,
0x10,0x21,0x41,0x00,0x90,0x43,0x78,0x84,0x08,0x84,0x47,0xE1,0x24,0x83,0x01,0x10,
0x84,0x51,0x15,0xA3,0x08,0x08,0x22,0x21,0x00,0xA1,0x42,0x20,0xFC,0x10,0x84,0x44,
0x21,0x58,0x83,0x01,0x1F,0x88,0x25,0x22,0x00,0x1F,0xFC,0x24,0x1D,0x00,0x80,0x80,
0x00,0x84,0x60,0x7C,0x44,0x61,0x81,0x81,0x01,0x10,0x90,0x42,0x01,0xFF,0x08,0x04,
0x38,0x09,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x80,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00};
//..........延时n毫秒..........
void delay_n_ms(uint ms)
{
uint i,j;
for(i=0;i<ms;i++)
for(j=0;j<123;j++);
}
//..........写数据到LCM..........
void send_data_to_lcm(uchar lcm_data1,uchar lcm_data2,uchar lcm_data3)
{
uchar i,data_bus_data1,data_bus_data2;
ulong lcm_data=0;
lcm_data=lcm_data1;
lcm_data=(lcm_data<<8)|lcm_data2;
lcm_data=(lcm_data<<8)|lcm_data3;
lcm_cs0=0;
lcm_cd=1;
lcm_wr1=1;
for(i=0;i<8;i++)
{
data_bus_data1=0;
data_bus_data2=0;
if(lcm_data&0x800000)
data_bus_data1=data_bus_data1|0xf8;
if(lcm_data&0x400000)
data_bus_data1=data_bus_data1|0x07;
data_bus_data2=data_bus_data2|0xe0;
if(lcm_data&0x200000)
data_bus_data2=data_bus_data2|0x1f;
data_bus=data_bus_data1;
lcm_wr0=0;
_nop_();
_nop_();
lcm_wr0=1;
_nop_();
_nop_();
_nop_();
_nop_();
data_bus=data_bus_data2;
lcm_wr0=0;
_nop_();
_nop_();
lcm_wr0=1;
lcm_data=lcm_data<<3;
}
lcm_cs0=1;
_nop_();
_nop_();
_nop_();
_nop_();
}
//..........写命令到LCM..........
void send_cmd_to_lcm(uchar lcm_cmd)
{
lcm_cs0=0;
lcm_cd=0;
lcm_wr1=1;
data_bus=lcm_cmd;
lcm_wr0=0;
_nop_();
_nop_();
lcm_wr0=1;
lcm_cs0=1;
_nop_();
_nop_();
_nop_();
_nop_();
}
//..........初始化..........
void lcm_init(void)
{
uchar i;
led=1;
lcm_rst=0;
delay_n_ms(5);
lcm_rst=1;
delay_n_ms(10);
for(i=0;i<21;i++)
{
send_cmd_to_lcm(tab_init[i]);
}
delay_n_ms(3);
}
//..........显示点阵..........
void disp_lattice(uchar lcm_data1,uchar lcm_data2)
{
uchar i,j;
send_cmd_to_lcm(0x70);
send_cmd_to_lcm(0x60);
send_cmd_to_lcm(0x12);
send_cmd_to_lcm(0x05);
for(i=0;i<80;i++)
{
for(j=0;j<7;j++)
send_data_to_lcm(lcm_data1,lcm_data1,lcm_data1);
for(j=0;j<7;j++)
send_data_to_lcm(lcm_data2,lcm_data2,lcm_data2);
}
}
//..........显示图形..........
void disp_graphics(uchar code *gph)
{
uchar i,j;
send_cmd_to_lcm(0x70);
send_cmd_to_lcm(0x60);
send_cmd_to_lcm(0x12);
send_cmd_to_lcm(0x05);
for(i=0;i<160;i++)
{
for(j=0;j<7;j++)
{
send_data_to_lcm(*gph,*(gph+1),*(gph+2));
gph=gph+3;
}
}
}
//..........主程序..........
void main(void)
{
lcm_init();
while(1)
{
disp_graphics(tab1);
delay_n_ms(1000);
disp_graphics(tab2);
delay_n_ms(1000);
disp_lattice(0xaa,0x55);
delay_n_ms(1000);
}
}
一周热门 更多>