文档章节

st75256 -2

涂Sir
 涂Sir
发布于 2015/09/14 14:14
字数 5632
阅读 112
收藏 0
#include "Cpu.h"
#include "Events.h"
#include "TI1.h"
/* Include shared modules, which are used for whole project */
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
#include "mealue.h"
#include "Clock.h"
#include "math.h"
#define LCD_DATA PTAD;
#define LCD_XCS PTGD.2;
#define LCD_E PTGD.1;
#define LCD_RW PTGD.0;
#define LCD_A0 PTGD.3;
int *duibidu_re;
byte const duibidu_rex1@0xFDFF;
byte const duibidu_rex2@0xFE00;
typedef unsigned int uint;
typedef unsigned char uchar;
uint duibidu1,duibidu2;
extern Mealue_data1;
const char biglogo[3][128]={         //长仪标志
0x00,0x07,0xE0,0x00,0x00,0x3F,0xFC,0x00,0x00,0xFC,0x1F,0x00,0x03,0xF0,0x03,0x80,0x07,0xC0,0x00,0xC0,0x0F,0x00,0x00,0x20,0x1E,0x00,0x00,0x00,0x3E,0x00,0x00,0x00,0x3C,0xFF,0xF0,0x3E,0x7C,0x00,0x08,0x7F,0x78,0xFF,0xE4,0xF0,0x78,0x7F,0xF3,0xE0,0xF8,0x3F,0xFB,0xE0,0xF0,0x00,0x1F,0xC0,0xF0,0x00,0x0F,0xC0,0xF0,0x00,0x1F,0x80,0xF0,0x00,0x3F,0x80,0xF0,0x00,0x7F,0x00,0xF0,0x00,0xFF,0x02,0xF8,0x01,0xFE,0x02,0xF8,0x03,0xFE,0x06,0x7C,0x07,0xFC,0x04,0x7C,0x0F,0xFC,0x0C,0x7E,0x1C,0x38,0x18,0x3F,0x00,0x00,0x38,0x3F,0x80,0x00,0xF0,0x1F,0xE0,0x03,0xE0,0x0F,0xF8,0x1F,0xC0,0x07,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x00,0x7F,0xFC,0x00,0x00,0x0F,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,0x08,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0xC0,0x00,0x00,0x01,0x80,0x00,0x00,0x03,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x0C,0x0C,0x00,0x00,0x18,0x0C,0x00,0x00,0x30,0x0C,0x00,0x00,0x60,0x0C,0x00,0x7F,0xC0,0x0F,0xFE,0x7F,0xC0,0x0F,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
                                        //开关量开状态
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x00,0x00,0x01,0xFE,0x00,0x00,0x03,0xFE,0x00,0x00,0x07,0x8C,0x00,0x00,0x0E,0x0C,0x00,0x00,0x1C,0x0C,0x00,0x00,0x78,0x0C,0x00,0x7F,0xF0,0x0F,0xFE,0x7F,0xC0,0x0F,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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 char bigchinese[6][120]={
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x71,0xE0,0x00,0x00,0x7B,0xF0,0x00,0x00,0x7F,0xF0,0x00,0x00,0x7F,0xF0,0x00,0x00,0x7F,0xE0,0x00,0x00,0xFF,0x80,0x00,0x01,0xF9,0xC0,0x00,0x03,0xF9,0xE0,0x00,0x06,0xF9,0xE0,0x00,0x0C,0xFF,0xE0,0x00,0x18,0xFF,0xC0,0x00,0x1D,0xFF,0x00,0x00,0x1F,0xFF,0xC0,0x00,0x0F,0xF7,0xE0,0x00,0x07,0xF1,0xFC,0x00,0x00,0xF1,0xFF,0xC0,0x00,0xF3,0xFF,0xE0,0x00,0xFF,0xFF,0xE0,0x00,0xFF,0x1C,0x00,0x00,0xFF,0x00,0x00,0x00,0x7E,0x00,0x00,0x00,0x7C,0x00,0x00,0x00,0x3C,0x00,0x00,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,0x80,0x00,0x00,0x01,0xE0,0xF8,0x00,0x01,0xE1,0xFC,0x00,0x03,0xF1,0xFC,0x00,0x07,0xE7,0xFC,0x00,0x0F,0xCF,0xFC,0x00,0x0F,0xCF,0xF8,0x00,0x1F,0x8F,0xF8,0x00,0x3F,0x7F,0xF8,0x00,0x7F,0xFF,0xF0,0x00,0x7E,0xFF,0xF0,0x00,0x7E,0x0F,0xF0,0x00,0x3F,0x87,0xE0,0x00,0x07,0x87,0xF0,0x00,0x07,0x87,0xF8,0x00,0x07,0xFF,0xFF,0x00,0x0F,0xFF,0xFF,0xC0,0x0F,0x7F,0x3F,0xF0,0x0F,0x00,0x1F,0xF8,0x0F,0x00,0x0F,0xF8,0x07,0x00,0x03,0xF8,0x02,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,0x80,0x00,0x00,0x3F,0xE0,0x00,0x00,0x3F,0xF0,0x00,0x00,0x7F,0xF0,0x00,0x00,0x7F,0xF8,0x00,0x00,0xFF,0xF0,0x00,0x01,0xFF,0xF0,0x00,0x03,0xF7,0xF8,0x00,0x03,0xFF,0xF8,0x00,0x07,0xFF,0xE0,0x00,0x0F,0x7F,0xF0,0x00,0x0C,0x7F,0xF0,0x00,0x00,0x7F,0xF0,0x00,0x00,0x7F,0xF8,0x00,0x00,0x7F,0xF8,0x00,0x00,0x77,0xC0,0x00,0x00,0x77,0xFF,0xC0,0x00,0x3F,0xFF,0xC0,0x01,0xFF,0x83,0xC0,0x0F,0xFB,0x80,0x00,0x1F,0xE3,0xFC,0x00,0x1F,0xFB,0xBE,0x00,0x00,0xF3,0xBF,0x00,0x00,0xFF,0x8E,0x00,0x00,0xEF,0x80,0x00,0x00,0xE7,0x80,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //集
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFC,0x00,0x00,0x3F,0xFF,0x00,0x00,0x3F,0xBF,0x00,0x00,0x7F,0x9F,0x00,0x01,0xE7,0xDF,0x00,0x03,0xE7,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x03,0xFF,0xFF,0x80,0x03,0xFF,0xFF,0x80,0x03,0xFF,0xFF,0x80,0x03,0xCF,0xDF,0x80,0x03,0xDF,0x9F,0x80,0x03,0x9F,0x9F,0x80,0x03,0xBF,0x9F,0x80,0x03,0xFF,0x9F,0x80,0x03,0xF7,0x9F,0x80,0x03,0xC7,0x9F,0x80,0x03,0xC7,0x9F,0x80,0x03,0xFF,0xFF,0x80,0x03,0xFF,0xFF,0x80,0x01,0xF8,0x3F,0x80,0x00,0xC0,0x1F,0x00,0x00,0x00,0x0F,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//团

};

const char big24chinese[3][63]={
0x00,0x00,0x00,0x07,0x00,0x00,0x07,0x0E,0x00,0x07,0x0F,0x00,0x07,0x07,0x00,0x07,0x63,0xF0,0x07,0xFF,0xF8,0x1F,0xE0,0x78,0x3F,0xFF,0xE0,0x07,0xFF,0xC0,0x07,0xB9,0xC0,0x07,0x38,0x00,0x1F,0x7F,0xC0,0xFF,0x3F,0x80,0xFF,0x0E,0x00,0x67,0x0E,0x00,0x1F,0x0F,0xF0,0x1F,0xFF,0xF8,0x07,0xE0,0x00,0x06,0x00,0x00,0x00,0x00,0x00,//
0x00,0x00,0x00,0x01,0x80,0xE0,0x01,0xC0,0xE0,0x01,0xC0,0xE0,0x0F,0xC0,0xE0,0x0F,0xF8,0xE0,0x0F,0xF7,0xE0,0x1F,0xC7,0x60,0x19,0xFF,0x60,0x7F,0xFF,0x60,0x7D,0xB7,0x60,0x0F,0xFF,0x60,0x0F,0xBF,0x60,0x0D,0xBF,0x60,0x0D,0xF8,0x60,0x0D,0xF8,0x60,0x0D,0xB3,0xE0,0x01,0x81,0xE0,0x01,0x80,0xE0,0x01,0x80,0xE0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x03,0x80,0x03,0xFF,0xC0,0x1F,0xFB,0xC0,0x0F,0xDF,0x80,0x0F,0xDF,0x80,0x0F,0xF3,0xC0,0x00,0x7F,0xE0,0x03,0xFF,0x00,0x0F,0xF8,0x00,0x01,0xFE,0x00,0x03,0xCF,0xC0,0x0F,0x87,0xF8,0x3E,0x01,0x80,0x3F,0xFF,0xE0,0x1F,0xFD,0xC0,0x0D,0xDD,0xC0,0x0F,0xDF,0xC0,0x0F,0x9C,0x00,0x00,0x00,0x00,0x00,0x00,0x00//
};

const char chinese[110][32]={
0x08,0x00,0x0A,0x7C,0xFF,0x48,0x08,0x50,0x7E,0x58,0x08,0x44,0xFF,0x64,0x08,0x58,0x11,0x50,0x3F,0xF0,0xD1,0x10,0x11,0x10,0x11,0x10,0x11,0x50,0x11,0x20,0x01,0x00,//帮 0
0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x08,0x7F,0xFC,0x05,0x40,0x05,0x40,0x05,0x40,0x09,0x20,0x09,0x20,0x11,0x10,0x2F,0xEE,0xC1,0x04,0x01,0x00,0x01,0x00,0x01,0x00,//本 1
0x08,0x08,0x48,0x1C,0x49,0xE0,0x49,0x00,0x49,0x00,0x7D,0xFC,0x41,0x04,0x41,0x48,0x79,0x48,0x49,0x50,0x49,0x30,0x4A,0x20,0x4A,0x50,0x4C,0x8E,0x89,0x04,0x08,0x00,//版 2
0x04,0x40,0x04,0x44,0x7C,0x78,0x04,0x42,0x1C,0x42,0xE4,0x3E,0x40,0x10,0x1F,0xF8,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x10,0x50,0x10,0x20,//背 3
0x00,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x88,0x24,0x98,0x3E,0xA0,0x20,0xC0,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x82,0x26,0x82,0x38,0x82,0x60,0x7E,0x00,0x00,//比 4
0x08,0x08,0x0B,0xFC,0x0A,0x08,0x12,0x08,0x12,0x08,0x33,0xF8,0x32,0x40,0x50,0x44,0x9F,0xFE,0x10,0x40,0x10,0xE0,0x11,0x50,0x12,0x48,0x14,0x4E,0x18,0x44,0x10,0x40,//保 5
0x00,0x40,0x40,0x40,0x30,0x40,0x17,0xFC,0x04,0x44,0x84,0x48,0x44,0x40,0x0F,0xF8,0x14,0x08,0x25,0x10,0xE4,0xA0,0x24,0x40,0x28,0xA0,0x29,0x10,0x32,0x0E,0x24,0x04,//波 6
0x01,0x00,0x01,0x00,0x21,0x08,0x21,0x08,0x21,0x08,0x21,0x08,0x3F,0xF8,0x21,0x08,0x01,0x00,0x41,0x04,0x41,0x04,0x41,0x04,0x41,0x04,0x41,0x04,0x7F,0xFC,0x40,0x04,//出 7
0x08,0x04,0x1D,0xFE,0xF1,0x04,0x11,0x04,0x11,0x04,0xFF,0x04,0x11,0xFC,0x38,0x00,0x37,0xFE,0x54,0x20,0x50,0x28,0x91,0xFC,0x10,0x20,0x10,0x24,0x17,0xFE,0x10,0x00,//程 8
0x20,0x00,0x27,0xF8,0x20,0x20,0x20,0x40,0xF8,0x80,0x21,0x04,0x27,0xFE,0x21,0x24,0x21,0x24,0x21,0x24,0x3A,0x24,0xE2,0x44,0x44,0x44,0x08,0x84,0x11,0x28,0x00,0x10,//场 9
0x02,0x00,0x02,0x00,0x02,0x10,0x7F,0xF8,0x42,0x10,0x42,0x10,0x7F,0xF0,0x42,0x10,0x42,0x10,0x7F,0xF0,0x42,0x10,0x02,0x00,0x02,0x04,0x02,0x04,0x01,0xFC,0x00,0x00,//电 a
0x00,0x40,0x08,0x40,0x7C,0x40,0x00,0x44,0x05,0xFE,0xFE,0x44,0x10,0x44,0x10,0x44,0x20,0x44,0x24,0x44,0x42,0x84,0xFE,0x84,0x41,0x04,0x01,0x04,0x02,0x28,0x04,0x10,//动 b
0x00,0x10,0x00,0x10,0x00,0x10,0xFC,0x14,0x07,0xFE,0x04,0x10,0x48,0x10,0x29,0x10,0x10,0x90,0x10,0x90,0x28,0x10,0x24,0x10,0x44,0x10,0x80,0x10,0x00,0x50,0x00,0x20,//对 c
0x01,0x00,0x00,0x84,0x3F,0xFE,0x22,0x20,0x22,0x28,0x3F,0xFC,0x22,0x20,0x23,0xE0,0x20,0x00,0x2F,0xF0,0x22,0x20,0x21,0x40,0x20,0x80,0x43,0x60,0x8C,0x1E,0x30,0x04,//度 d
0x10,0x00,0x10,0x04,0x17,0xFE,0x10,0x20,0x54,0x20,0x58,0x20,0x50,0x20,0x90,0x20,0x10,0x20,0x10,0x20,0x10,0x20,0x28,0x20,0x24,0x20,0x44,0x20,0x80,0xA0,0x00,0x40,//灯 e
0x10,0x10,0x08,0x18,0x04,0x20,0x04,0x48,0x7F,0xFC,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x02,0x80,0x02,0x80,0x04,0x40,0x08,0x30,0x30,0x0E,0xC0,0x04,//关 f
0x01,0x00,0x21,0x08,0x11,0x0C,0x09,0x10,0x09,0x20,0x01,0x04,0xFF,0xFE,0x04,0x40,0x04,0x40,0x04,0x40,0x04,0x40,0x08,0x40,0x08,0x42,0x10,0x42,0x20,0x3E,0x40,0x00,//光 10
0x10,0x40,0x1F,0x7C,0x28,0x90,0x45,0x08,0x01,0x00,0x7F,0xFE,0x40,0x02,0x9F,0xF4,0x10,0x10,0x1F,0xF0,0x10,0x00,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x00,//管 11
0x00,0x00,0x00,0x08,0x7F,0xFC,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x00,0x00,0x00,0x00,//工 12
0x02,0x00,0x01,0x04,0xFF,0xFE,0x00,0x00,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x00,0x04,0x7F,0xFE,0x40,0x04,0x4F,0xE4,0x48,0x24,0x48,0x24,0x4F,0xE4,0x40,0x0C,//高 13
0x10,0x08,0x11,0xFC,0x14,0x00,0x7E,0xF8,0x54,0x88,0x54,0x88,0x54,0xF8,0x54,0x04,0x55,0xFE,0x55,0x24,0x55,0x24,0x5D,0xFC,0x11,0x24,0x11,0x24,0x11,0xFC,0x11,0x04,//幅 14
0x10,0x80,0x10,0x60,0x10,0x24,0x13,0xFE,0xFE,0x04,0x12,0x04,0x16,0x04,0x1B,0xFC,0x32,0x04,0xD2,0x00,0x12,0x00,0x12,0x00,0x12,0x00,0x14,0x00,0x54,0x00,0x28,0x00,//护 15
0x01,0x00,0x01,0x00,0x02,0x80,0x04,0x40,0x0A,0x20,0x11,0x90,0x20,0x8E,0xDF,0xE4,0x00,0x40,0x00,0x90,0x1F,0xF8,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,//含 16
0x00,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x00,0x04,0xFF,0xFE,0x04,0x00,0x08,0x10,0x1F,0xF8,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0xA0,0x00,0x40,//号 17
0x00,0x10,0x40,0x38,0x33,0xC0,0x10,0x40,0x00,0x40,0x00,0x44,0xF7,0xFE,0x10,0x40,0x10,0x48,0x13,0xFC,0x12,0x08,0x12,0x08,0x16,0x08,0x1A,0x08,0x13,0xF8,0x02,0x08,//话 18
0x00,0x00,0x20,0x08,0x17,0xFC,0x10,0x08,0x00,0x08,0x00,0x08,0xF0,0x08,0x13,0xF8,0x12,0x08,0x12,0x00,0x12,0x00,0x12,0x02,0x16,0x02,0x1A,0x02,0x11,0xFE,0x00,0x00,//记 19
0x04,0x40,0x04,0x40,0x24,0x48,0x24,0x7C,0x24,0xA0,0x25,0x18,0x24,0x08,0x24,0x00,0x04,0x08,0x3F,0xFC,0x24,0x48,0x24,0x48,0x24,0x48,0x24,0x48,0xFF,0xFE,0x00,0x00,//监 1a
0x20,0x04,0x1B,0xFE,0x08,0x04,0x40,0x24,0x4F,0xF4,0x48,0x24,0x48,0x24,0x48,0x24,0x4F,0xE4,0x48,0x24,0x48,0x24,0x48,0x24,0x4F,0xE4,0x48,0x24,0x40,0x14,0x40,0x08,//间 1b
0x10,0x40,0x10,0x40,0x12,0x40,0x22,0x48,0x23,0xFC,0x64,0x40,0xA4,0x40,0x28,0x40,0x20,0x44,0x3F,0xFE,0x20,0x40,0x20,0x40,0x20,0x40,0x20,0x40,0x20,0x40,0x20,0x40,//件 1c
0x04,0x40,0x04,0x44,0xFF,0xFE,0x04,0x40,0x04,0x48,0x7F,0xFC,0x02,0x08,0x02,0x08,0x02,0x08,0x02,0x08,0x02,0x48,0x02,0x28,0x02,0x10,0x02,0x00,0x02,0x00,0x02,0x00,//节 1d
0x00,0x08,0x7F,0xFC,0x08,0x20,0x08,0x20,0x08,0x20,0x08,0x20,0x08,0x24,0xFF,0xFE,0x08,0x20,0x08,0x20,0x08,0x20,0x08,0x20,0x10,0x20,0x10,0x20,0x20,0x20,0x40,0x20,//开 1e
0x01,0x04,0xFE,0xCC,0x24,0x50,0x24,0x00,0x3D,0xFC,0x24,0x20,0x24,0x20,0x24,0x24,0x3F,0xFE,0x24,0x20,0x24,0x20,0x24,0x50,0x3E,0x50,0xE4,0x88,0x05,0x0E,0x06,0x04,//联 1f
0x00,0x90,0x40,0xF8,0x20,0x80,0x2F,0xFE,0x08,0x82,0x88,0xF4,0x5F,0x80,0x48,0x88,0x18,0x78,0x28,0x00,0xC9,0x40,0x4B,0x24,0x4D,0x2A,0x51,0x0A,0x50,0xF8,0x60,0x00,//滤 20
0x04,0x40,0x7E,0x40,0x44,0xFC,0x45,0x88,0x46,0x50,0x44,0x20,0x7C,0x50,0x50,0x8E,0x13,0x04,0x5D,0xFE,0x51,0x04,0x51,0x04,0x51,0x04,0x5D,0x04,0xE1,0xFC,0x01,0x04,//路 21
0x00,0x10,0x3F,0xF8,0x00,0x10,0x00,0x10,0x1F,0xF0,0x00,0x10,0x00,0x14,0xFF,0xFE,0x01,0x08,0x11,0x10,0x09,0xA0,0x05,0x40,0x09,0x20,0x11,0x1E,0x65,0x04,0x02,0x00,//录 22
0x00,0x08,0x13,0xFC,0xFA,0x48,0x22,0x48,0x23,0xF8,0x22,0x48,0xFA,0x48,0x23,0xF8,0x20,0x40,0x20,0x50,0x23,0xF8,0x3C,0x40,0xE0,0x40,0x40,0x44,0x0F,0xFE,0x00,0x00,//理 23
0x00,0x10,0x1F,0xF8,0x10,0x10,0x1F,0xF0,0x10,0x14,0xFF,0xFE,0x00,0x00,0x1F,0xF0,0x11,0x10,0x1F,0xF0,0x11,0x10,0x1F,0xF0,0x01,0x00,0x1F,0xF0,0x01,0x00,0x7F,0xFC,//量 24
0x11,0x10,0x11,0x14,0x1F,0xFE,0x11,0x10,0xFD,0x18,0x13,0xFC,0x32,0x08,0x3B,0xF8,0x56,0x08,0x53,0xF8,0x90,0x40,0x1F,0xFE,0x10,0x40,0x10,0xB0,0x11,0x0E,0x16,0x04,//模 25
0x02,0x00,0x01,0x00,0x7F,0xFE,0x42,0x02,0x89,0x24,0x28,0xC8,0x4B,0x04,0x0C,0x10,0x77,0xF0,0x01,0x00,0x21,0x08,0x21,0x08,0x21,0x08,0x21,0x08,0x3F,0xF8,0x20,0x08,//密 26
0x08,0x10,0xFF,0xF8,0x10,0x10,0x11,0x10,0x21,0x10,0x25,0x10,0x3F,0x10,0x65,0x14,0xA5,0xFE,0x24,0x04,0x24,0x24,0x27,0xF4,0x24,0x04,0x3C,0x04,0x24,0x14,0x00,0x08,//码 27
0x10,0x00,0x10,0x08,0x10,0x88,0x12,0x48,0xFE,0x68,0x12,0x28,0x16,0x08,0x1A,0x08,0x32,0x08,0xD2,0x08,0x12,0x48,0x12,0x88,0x13,0x14,0x12,0x22,0x50,0x42,0x20,0x80,//拟 28
0x10,0x80,0x10,0x88,0x24,0x98,0x44,0xA0,0xFE,0xC0,0x02,0x84,0x7C,0x84,0x44,0x7C,0x7C,0x00,0x44,0x88,0x44,0x98,0x7C,0xA0,0x44,0xC0,0x44,0x82,0x54,0x82,0x48,0x7E,//能 29
0x3E,0xF8,0x22,0x88,0x22,0x88,0x22,0x88,0x3E,0xF8,0x01,0x20,0x01,0x14,0xFF,0xFE,0x02,0x80,0x0C,0x60,0x30,0x18,0xFE,0xFE,0x22,0x88,0x22,0x88,0x22,0x88,0x3E,0xF8,//器 2a
0x04,0x00,0x02,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x02,0x80,0x02,0x80,0x02,0x80,0x04,0x40,0x04,0x40,0x08,0x20,0x08,0x20,0x10,0x10,0x20,0x10,0x40,0x0E,0x80,0x04,//入 2b
0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x02,0x80,0x02,0x80,0x02,0x80,0x04,0x40,0x04,0x40,0x08,0x20,0x10,0x10,0x20,0x0E,0x40,0x04,//人 2c
0x00,0x08,0x04,0x08,0x7E,0x08,0x44,0x08,0x47,0xFE,0x44,0x08,0x44,0x08,0x7C,0x88,0x44,0x48,0x44,0x48,0x44,0x08,0x44,0x08,0x7C,0x08,0x44,0x48,0x00,0x28,0x00,0x10,//时 2d
0x00,0x10,0x3F,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0xFF,0xFE,0x01,0x00,0x01,0x00,0x09,0x20,0x19,0x18,0x21,0x0C,0x41,0x04,0x01,0x00,0x05,0x00,0x02,0x00,//示 2e
0x20,0x08,0x13,0xFC,0x12,0x08,0x02,0x48,0xFE,0x48,0x0A,0x48,0x12,0x48,0x32,0x48,0x5A,0x48,0x96,0x68,0x12,0xA8,0x10,0xA0,0x11,0x22,0x11,0x22,0x12,0x1E,0x14,0x00,//视 2f
0x01,0xF0,0x21,0x10,0x11,0x10,0x11,0x10,0x01,0x10,0x02,0x0E,0xF4,0x00,0x13,0xF8,0x11,0x08,0x11,0x10,0x10,0x90,0x10,0xA0,0x14,0x40,0x18,0xB0,0x13,0x0E,0x0C,0x04,//设 30
0x08,0x40,0x49,0x40,0x2A,0x40,0x08,0x84,0xFF,0xFE,0x19,0x08,0x2C,0x88,0x4A,0x88,0x10,0x88,0xFE,0x90,0x22,0x50,0x22,0x20,0x14,0x50,0x18,0x88,0x25,0x0E,0x42,0x04,//数 31
0x00,0x10,0x00,0xF8,0x7F,0x00,0x01,0x00,0x01,0x10,0x3F,0xF8,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x05,0x00,0x02,0x00,//手 32
0x08,0x04,0x0B,0xFE,0x48,0x20,0x48,0x24,0x49,0xFE,0x49,0x24,0x49,0x24,0x49,0x24,0x49,0x24,0x49,0x24,0x49,0x24,0x49,0x24,0x11,0x34,0x11,0x28,0x20,0x20,0x40,0x20,//师 33
0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x3F,0xF8,0x21,0x08,0x3F,0xF8,0x01,0x00,0x3F,0xF8,0x01,0x08,0xFF,0xFE,0x01,0x08,0x3F,0xF8,0x01,0x08,0x05,0x00,0x02,0x00,//事 34
0x40,0x04,0x27,0xFE,0x24,0x44,0x04,0x44,0x05,0xF4,0xE4,0x44,0x24,0x54,0x27,0xFC,0x24,0x04,0x25,0xF4,0x25,0x14,0x2D,0x14,0x35,0xF4,0x25,0x04,0x08,0x14,0x10,0x08,//调 35
0x03,0xF8,0x40,0x10,0x30,0xA0,0x10,0x48,0x03,0xFC,0x02,0x48,0xF2,0x48,0x13,0xF8,0x12,0x48,0x12,0x48,0x13,0xF8,0x12,0x48,0x12,0x68,0x2A,0x50,0x44,0x06,0x03,0xFC,//通 36
0x10,0x10,0x11,0xF8,0x11,0x10,0x11,0x10,0xFD,0x10,0x11,0x14,0x15,0x0E,0x1A,0x00,0x33,0xF8,0xD0,0x08,0x11,0x10,0x10,0xA0,0x10,0x40,0x10,0xB0,0x51,0x0E,0x26,0x04,//投 37
0x00,0x08,0x43,0xFC,0x32,0x08,0x12,0x08,0x83,0xF8,0x62,0x08,0x22,0x08,0x0B,0xF8,0x10,0x00,0x27,0xFC,0xE4,0xA4,0x24,0xA4,0x24,0xA4,0x24,0xA4,0x2F,0xFE,0x20,0x00,//温 38
0x00,0x08,0x09,0xFC,0xFD,0x08,0x11,0x28,0x11,0x28,0x11,0x28,0x11,0x28,0x7D,0x48,0x11,0x48,0x11,0x48,0x10,0x40,0x1C,0xA0,0xF0,0xA0,0x41,0x22,0x02,0x22,0x0C,0x1E,//现 39
0x00,0x80,0x7F,0xC4,0x11,0x0C,0x11,0x10,0x11,0x20,0x11,0x44,0x11,0x0C,0xFF,0xD0,0x11,0x20,0x11,0x42,0x11,0x06,0x11,0x08,0x21,0x10,0x21,0x20,0x41,0x40,0x01,0x80,//形 3a
0x00,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x14,0x50,0x44,0x44,0x34,0x4C,0x14,0x50,0x04,0x40,0x04,0x44,0xFF,0xFE,0x00,0x00,//显 3b
0x01,0x00,0x00,0x88,0x3F,0xFC,0x20,0x00,0x2F,0xF8,0x20,0x20,0x21,0x40,0x20,0x80,0x2F,0xFC,0x20,0x88,0x20,0x90,0x20,0x80,0x40,0x80,0x40,0x80,0x82,0x80,0x01,0x00,//序 3c
0x00,0x10,0x47,0xF8,0x30,0x10,0x11,0x10,0x01,0x10,0x01,0x10,0xF1,0x10,0x11,0x50,0x17,0xF0,0x11,0x10,0x11,0x10,0x11,0x10,0x15,0x0A,0x19,0x0A,0x11,0x06,0x01,0x00,//讯 3d
0x04,0x20,0x24,0x24,0x17,0xA8,0x14,0x30,0x04,0x22,0x05,0xA2,0xF6,0x5E,0x10,0x88,0x13,0xFC,0x12,0x08,0x12,0x08,0x13,0xF8,0x16,0x08,0x1A,0x08,0x13,0xF8,0x02,0x08,//谐 3e
0x08,0x80,0x08,0x44,0x0F,0xFE,0x10,0x00,0x10,0x08,0x37,0xFC,0x50,0x00,0x90,0x08,0x17,0xFC,0x10,0x00,0x13,0xF8,0x12,0x08,0x12,0x08,0x12,0x08,0x13,0xF8,0x12,0x08,//信 3f
0x02,0x00,0x04,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x02,0x00,0x51,0x84,0x50,0x92,0x90,0x12,0x0F,0xF0,//息 40
0x00,0x38,0x7F,0xC0,0x04,0x00,0x04,0x10,0x08,0x20,0x3F,0xC0,0x01,0x00,0x02,0x20,0x04,0x10,0x3F,0xF8,0x01,0x08,0x09,0x20,0x09,0x10,0x11,0x08,0x25,0x08,0x02,0x00,//系 41
0x00,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x1F,0xF0,0x00,0x08,0x3F,0xFC,0x20,0x08,0x21,0x08,0x21,0x08,0x21,0x08,0x21,0x08,0x22,0x08,0x04,0x60,0x18,0x18,0x60,0x04,//员 42
0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x01,0x00,0x3F,0xF0,0x08,0x20,0x08,0x20,0x04,0x40,0x02,0x80,0x01,0x00,0x02,0x80,0x0C,0x60,0x30,0x1E,0xC0,0x04,//支 43
0x10,0x10,0x08,0x20,0x04,0x40,0x00,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x02,0x00,0x51,0x84,0x50,0x92,0x90,0x12,0x0F,0xF0,0x00,0x00,//总 44
0x01,0x00,0x02,0x00,0x04,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,//自 45
0x00,0x78,0x3F,0x80,0x20,0x80,0x20,0x84,0x3F,0xFE,0x20,0x80,0x20,0x88,0x2F,0xFC,0x28,0x08,0x28,0x88,0x28,0x88,0x28,0x88,0x49,0x08,0x42,0x70,0x8C,0x0C,0x30,0x04,//质 46
0x3F,0xF8,0x24,0x48,0x3F,0xF8,0x01,0x00,0x7F,0xFC,0x01,0x00,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x14,0xFF,0xFE,0x00,0x00,//置 47
0x02,0x20,0x3F,0x20,0x22,0x20,0x22,0x24,0x23,0xFE,0x3E,0x24,0x22,0x24,0x22,0x24,0x3E,0x24,0x22,0x24,0x22,0x44,0x22,0x44,0x2F,0x44,0xF0,0x84,0x41,0x28,0x02,0x10,//助 48
0x08,0x40,0x08,0x48,0x0F,0xFC,0x10,0x40,0x10,0x48,0x33,0xFC,0x52,0x08,0x93,0xF8,0x12,0x08,0x13,0xF8,0x12,0x08,0x13,0xF8,0x12,0x08,0x12,0x08,0x1F,0xFE,0x10,0x00,//值 49
0x08,0x40,0x08,0x50,0x08,0x48,0x48,0x40,0x28,0x44,0x2F,0xFE,0x08,0x40,0x08,0x40,0x18,0xA0,0x28,0xA0,0x49,0x10,0xC9,0x10,0x09,0x08,0x0A,0x0E,0x0C,0x04,0x08,0x00,//状 4a
0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x02,0x80,0x04,0x40,0x0A,0x30,0x31,0x0E,0xC0,0x04,0x02,0x00,0x29,0x10,0x29,0x08,0x28,0x24,0x48,0x24,0x07,0xE0,0x00,0x00, //态 4b
0x10,0x80,0x10,0x80,0x11,0xF0,0x12,0x20,0xFC,0x48,0x13,0xFC,0x12,0x48,0x1E,0x48,0x32,0x48,0xD2,0x48,0x1F,0xFE,0x10,0x40,0x10,0xA0,0x11,0x10,0x52,0x0E,0x2C,0x04,// 换 4c
0x10,0x00,0x10,0x04,0x11,0xFE,0x10,0x44,0x14,0x44,0x1E,0x44,0xF0,0x44,0x10,0x44,0x10,0x44,0x12,0x44,0x14,0x44,0x18,0x84,0x10,0x84,0x01,0x04,0x02,0x28,0x0C,0x10, // 切4d
0x00,0x00,0x04,0x40,0x04,0x40,0x04,0x80,0x05,0x00,0x06,0x00,0x05,0xF8,0x7E,0x00,0x05,0x00,0x04,0x80,0x04,0x40,0x05,0x30,0x06,0x1C,0x04,0x00,0x00,0x00,0x00,0x00,  // 长4e
0x07,0xC0,0x18,0x30,0x20,0x08,0x4F,0xC4,0x44,0x24,0x84,0x22,0x87,0xC2,0x85,0x02,0x85,0x82,0x84,0x82,0x44,0x44,0x4E,0x64,0x20,0x08,0x18,0x30,0x07,0xC0,0x00,0x00,   //4f
0x00,0x00,0x7F,0xFC,0x40,0x04,0x41,0x04,0x51,0x14,0x4A,0x9C,0x44,0x54,0x44,0x24,0x4A,0x24,0x4A,0x54,0x51,0x94,0x61,0x04,0x40,0x04,0x40,0x1C,0x40,0x08,0x00,0x00, //网 50
0x00,0x20,0x10,0x20,0x10,0x20,0x10,0x20,0x10,0x20,0xFD,0x20,0x11,0x3C,0x11,0x20,0x11,0x20,0x11,0x20,0x11,0x20,0x1D,0x20,0xF1,0x24,0x47,0xFE,0x00,0x00,0x00,0x00, //址 51
0x10,0x40,0x18,0x48,0x17,0xFC,0x20,0x40,0x20,0x80,0x60,0x84,0xAF,0xFE,0x20,0x80,0x21,0x08,0x23,0xFC,0x20,0x08,0x21,0x10,0x20,0xA0,0x20,0x40,0x20,0x20,0x00,0x00, //传  52
0x01,0x00,0x01,0x04,0x7F,0xFE,0x02,0x00,0x0F,0xF0,0x08,0x10,0x0F,0xF0,0x08,0x10,0x0F,0xF0,0x08,0x10,0x0F,0xF0,0x08,0x10,0xFF,0xFE,0x04,0x40,0x18,0x30,0x60,0x0C,  //真 53
0x00,0x00,0x01,0x00,0x01,0x00,0x07,0xC0,0x09,0x20,0x11,0x10,0x11,0x10,0x11,0x10,0x11,0x10,0x11,0x10,0x09,0x20,0x07,0xC0,0x01,0x00,0x01,0x00,0x01,0x00,0x00,0x00,   //φ 54
0x00,0x00,0x1F,0xF0,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x00,0x00,0x00,0x00,    //日 55
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x7F,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,   //一  56
0x00,0x00,0x00,0x10,0x3F,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x7F,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,    //二 57
0x00,0x00,0x00,0x00,0x7F,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xFE,0x00,0x00,0x00,0x00,   //三  58
0x00,0x00,0x7F,0xFC,0x44,0x84,0x44,0x84,0x44,0x84,0x44,0x84,0x44,0x84,0x44,0x84,0x48,0x84,0x48,0x7C,0x50,0x04,0x60,0x04,0x40,0x04,0x7F,0xFC,0x40,0x04,0x00,0x00,    //四 59
0x00,0x00,0x7F,0xF8,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x20,0x3F,0xF0,0x04,0x20,0x04,0x20,0x04,0x20,0x04,0x20,0x04,0x24,0xFF,0xFE,0x00,0x00,0x00,0x00,     //五 5a
0x04,0x00,0x03,0x00,0x01,0x80,0x01,0x00,0xFF,0xFE,0x00,0x00,0x00,0x00,0x04,0x80,0x06,0x40,0x04,0x20,0x08,0x10,0x08,0x18,0x10,0x0C,0x20,0x0C,0x40,0x08,0x00,0x00,      //六 5b
0x00,0x00,0x1F,0xF8,0x10,0x08,0x1F,0xF8,0x10,0x08,0x1F,0xF8,0x01,0x00,0x11,0x00,0x1F,0xFC,0x21,0x00,0x21,0x00,0x4F,0xF8,0x01,0x00,0x01,0x00,0x7F,0xFE,0x00,0x00,       //星 5c
0x22,0x00,0x22,0x7C,0x7F,0x44,0x22,0x44,0x3E,0x44,0x22,0x7C,0x3E,0x44,0x22,0x44,0x22,0x44,0xFF,0x7C,0x00,0x44,0x24,0x84,0x22,0x84,0x43,0x14,0x81,0x08,0x00,0x00,       //期  5d
0x00,0x00,0x3F,0xFE,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x40,0x00,0x40,0x00,0x80,0x00,0x00,0x00,        //厂 5e
0x02,0x00,0x01,0x00,0x3F,0xFE,0x40,0x04,0x5F,0xE8,0x01,0x00,0x02,0x00,0x0F,0x20,0x72,0xB0,0x04,0xC0,0x19,0xC0,0x66,0xB0,0x18,0x8E,0x60,0x84,0x05,0x00,0x02,0x00,         //家 5f
0x08,0x00,0x0F,0xF0,0x08,0x20,0x14,0x20,0x22,0x40,0x41,0x80,0x02,0x40,0x0C,0x30,0x30,0x1E,0xDF,0xF4,0x11,0x10,0x1F,0xF0,0x11,0x10,0x11,0x10,0x1F,0xF0,0x10,0x10,          //备60
0x10,0x40,0x10,0x40,0x53,0xFC,0x50,0x40,0x7C,0x40,0x97,0xFE,0x10,0x10,0x1C,0x10,0x33,0xFE,0xD0,0x10,0x11,0x10,0x10,0x90,0x10,0x90,0x10,0x10,0x10,0x50,0x10,0x20,          //特 61
0x02,0x00,0x01,0x00,0x7F,0xFE,0x41,0x00,0x22,0x28,0x17,0xD0,0x04,0x80,0x11,0x10,0x22,0x48,0x47,0xC4,0x01,0x20,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,          //率 62
0x01,0x00,0x01,0x00,0x3F,0xF8,0x01,0x00,0x02,0xC0,0x0C,0x38,0x30,0x10,0xFF,0xFE,0x00,0x10,0x1F,0x10,0x11,0x10,0x11,0x10,0x1F,0x10,0x11,0x10,0x00,0x50,0x00,0x20,          //奇 63
0x00,0x00,0x13,0xF8,0x1A,0x48,0x12,0x48,0x33,0xF8,0x22,0x48,0x62,0x48,0xA3,0xF8,0x20,0x40,0x27,0xFC,0x24,0x44,0x24,0x54,0x24,0xFC,0x27,0x84,0x24,0x14,0x24,0x08,          //偶 64
0x10,0x40,0x10,0x20,0x10,0x20,0xFD,0xFE,0x10,0x00,0x38,0x88,0x34,0x84,0x51,0x0A,0x51,0x08,0x92,0x90,0x10,0x90,0x10,0x60,0x10,0x60,0x11,0x98,0x16,0x0E,0x10,0x04,          //校 65
0x00,0x00,0xF8,0x40,0x08,0x40,0x48,0xA0,0x48,0x90,0x49,0x0E,0x4B,0xF0,0x7C,0x00,0x04,0x84,0x06,0x44,0x35,0x48,0xC5,0x48,0x04,0x10,0x17,0xFE,0x08,0x00,0x00,0x00,           //验 66
0x09,0x00,0x0C,0xC0,0x10,0x40,0x17,0xFC,0x20,0x00,0x34,0x10,0x52,0x18,0x52,0x10,0x91,0x10,0x11,0x20,0x11,0x20,0x10,0x20,0x10,0x40,0x1F,0xFE,0x10,0x00,0x00,0x00,          //位 67
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0xDB,0x00,0x18,0x00,0x18,0x00,0x18,0x00,0x18,0x00,0x18,0x00,0x18,0x00,0x18,0x00,0x18,0x00,0x3C,0x00,0x00,0x00,0x00,0x00,           //T 68
0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0x00,0x63,0x00,0x63,0x00,0xC0,0x00,0xC0,0x00,0xC0,0x00,0xC0,0x00,0xC0,0x00,0x63,0x00,0x66,0x00,0x3C,0x00,0x00,0x00,0x00,0x00,           //C 69
0x00,0x00,0x00,0x00,0x00,0x00,0xFE,0x00,0x63,0x00,0x63,0x00,0x63,0x00,0x7E,0x00,0x6C,0x00,0x6C,0x00,0x66,0x00,0x66,0x00,0x63,0x00,0xF3,0x80,0x00,0x00,0x00,0x00,           //R 6A
0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0x00,0x63,0x00,0x63,0x00,0x60,0x00,0x30,0x00,0x1C,0x00,0x06,0x00,0x03,0x00,0x63,0x00,0x63,0x00,0x7E,0x00,0x00,0x00,0x00,0x00,           //S 6B
};
byte const bigASCII[3][48]={
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x1F,0xE0,0x3D,0xE0,0x78,0xE0,0x78,0xE0,0x78,0xE0,0x7C,0x00,0x3E,0x00,0x1F,0x80,0x0F,0xC0,0x03,0xE0,0x01,0xF0,0x70,0xF0,0x70,0xF0,0x70,0xE0,0x79,0xE0,0x7F,0xC0,0x6F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,//S
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xC0,0x3F,0xE0,0x38,0xF0,0x38,0xF0,0x38,0x70,0x38,0xF0,0x38,0xF0,0x3D,0xE0,0x3F,0xC0,0x38,0x00,0x38,0x00,0x38,0x00,0x38,0x00,0x38,0x00,0x38,0x00,0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xF0,0x3F,0xF0,0x38,0x70,0x38,0x30,0x38,0x00,0x38,0xE0,0x38,0xE0,0x3F,0xE0,0x38,0xE0,0x38,0xE0,0x38,0xE0,0x38,0x00,0x38,0x00,0x38,0x00,0x38,0x00,0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//
};
byte const ASCII[40][16]={
0x00,0x00,0x00,0x18,0x24,0x42,0x42,0x42,0x42,0x42,0x42,0x42,0x24,0x18,0x00,0x00,//0
0x00,0x00,0x00,0x10,0x70,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x7C,0x00,0x00,//1
0x00,0x00,0x00,0x3C,0x42,0x42,0x42,0x04,0x04,0x08,0x10,0x20,0x42,0x7E,0x00,0x00,//2
0x00,0x00,0x00,0x3C,0x42,0x42,0x04,0x18,0x04,0x02,0x02,0x42,0x44,0x38,0x00,0x00,//3
0x00,0x00,0x00,0x04,0x0C,0x14,0x24,0x24,0x44,0x44,0x7E,0x04,0x04,0x1E,0x00,0x00, //4
0x00,0x00,0x00,0x7E,0x40,0x40,0x40,0x58,0x64,0x02,0x02,0x42,0x44,0x38,0x00,0x00, //5
0x00,0x00,0x00,0x1C,0x24,0x40,0x40,0x58,0x64,0x42,0x42,0x42,0x24,0x18,0x00,0x00, //6
0x00,0x00,0x00,0x7E,0x44,0x44,0x08,0x08,0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00, //7
0x00,0x00,0x00,0x3C,0x42,0x42,0x42,0x24,0x18,0x24,0x42,0x42,0x42,0x3C,0x00,0x00, //8
0x00,0x00,0x00,0x18,0x24,0x42,0x42,0x42,0x26,0x1A,0x02,0x02,0x24,0x38,0x00,0x00, //9
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x60,0x00,0x00,//. 0xa
0x00,0x00,0x00,0x62,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x24,0x24,0x18,0x00,0x00,//U 0xb
0x00,0x00,0x00,0x18,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x18,0x00,0x00,0x00,//I 0xc
0x00,0x00,0x00,0x3C,0x22,0x22,0x22,0x26,0x38,0x20,0x20,0x20,0x20,0x00,0x00,0x00,//P 0xd
0x00,0x00,0x00,0x3E,0x20,0x20,0x20,0x3C,0x24,0x20,0x20,0x20,0x20,0x00,0x00,0x00,//F 0xe
0x00,0x00,0x00,0x3E,0x22,0x42,0x40,0x40,0x40,0x40,0x40,0x62,0x24,0x18,0x00,0x00,//C 0xf
0x00,0x00,0x00,0x3C,0x44,0x42,0x42,0x42,0x42,0x42,0x42,0x66,0x24,0x18,0x00,0x00,//O 0x10
0x00,0x00,0x00,0x3C,0x44,0x40,0x60,0x30,0x0C,0x06,0x02,0x42,0x64,0x18,0x00,0x00,//S 0x11
0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x48,0x48,0x18,0x68,0x48,0x4A,0x34,0x00,0x00,//a 0x12
0x00,0x00,0x00,0x60,0x20,0x20,0x3C,0x26,0x22,0x22,0x22,0x22,0x24,0x18,0x00,0x00,//b 0x13
0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x66,0x40,0x40,0x40,0x62,0x34,0x18,0x00,0x00,//c 0x14
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,//= 0x15
0x00,0x00,0x00,0xC7,0x62,0x62,0x52,0x52,0x4A,0x4A,0x4A,0x46,0x46,0xE2,0x00,0x00,// N 0x16
0x00,0x00,0x00,0xEE,0x44,0x44,0x28,0x28,0x10,0x10,0x10,0x10,0x10,0x38,0x00,0x00,//Y  0x17
0x00,0x00,0x00,0x3E,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x88,0xF0,//J  0x18
0x00,0x00,0x00,0xFE,0x92,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x38,0x00,0x00,//T  0x19
0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,//:  0x1a
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//-  0x1b
0x00,0x00,0x00,0xE7,0x42,0x42,0x42,0x42,0x7E,0x42,0x42,0x42,0x42,0xE7,0x00,0x00,//H   0x1c
0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x7C,0x10,0x10,0x10,0x10,0x10,0x0C,0x00,0x00,//t   0x1d
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xD8,0x64,0x42,0x42,0x42,0x44,0x78,0x40,0xE0, //p   0x1e
0x00,0x00,0x01,0x02,0x02,0x04,0x04,0x08,0x08,0x10,0x10,0x20,0x20,0x40,0x40,0x00, // / 0x1f
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xD7,0x92,0x92,0xAA,0xAA,0x44,0x44,0x00,0x00,  //w  0x20
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE7,0x42,0x24,0x24,0x28,0x18,0x10,0x10,0xE0,  //y  0x21
0x00,0x00,0x00,0x0C,0x0C,0x00,0x00,0x1C,0x04,0x04,0x04,0x04,0x04,0x04,0x44,0x78,  // j  0x22
0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x7C,0x10,0x10,0x10,0x10,0x10,0x0C,0x00,0x00,  //t    0x23
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xDC,0x62,0x42,0x42,0x42,0x42,0xE7,0x00,0x00,  //n   0x24
0x00,0x00,0x00,0x00,0x10,0x10,0x10,0x10,0xFE,0x10,0x10,0x10,0x10,0x00,0x00,0x00,   //+  0x25
0x00,0x00,0x00,0x38,0x44,0x82,0x82,0x82,0x82,0x82,0xB2,0xCA,0x4C,0x38,0x06,0x00,   //Q  0x26
0x00,0x00,0x00,0x0F,0x11,0x10,0x10,0x7E,0x10,0x10,0x10,0x10,0x10,0x7C,0x00,0x00,    //f  0x27



};
void delay(uint t)
    {
     uint i,j;
    // Cpu_EnableInt();
     for (i=0;i<t;i++)
     for (j=0;j<10;j++);
     }
void writeData(uchar _data)
    {
	     _asm{
	     bset 3,PTGD          //RS/A0=1
	     bclr 0,PTGD          //RW_WR=0;
	     bclr 2,PTGD          //CSB=0;
	     };
      PTAD=_data;
      _asm{
      bset 1,PTGD          // E_RD=1;
      nop
      nop
      bclr 1,PTGD          // E_RD=0;
      bset 2,PTGD          //CSB=1;
      bset 0,PTGD           //RW_WR=1;
      bclr 3,PTGD         //RS/A0=0;
     };
     }     
void writeCommand(uchar _data)
    {
	     _asm{
	     bclr 3,PTGD         //RS/A0=0;
	     bclr 0,PTGD           //RW_WR=0;
	     bclr 2,PTGD         //CSB=0;
	     }; 
     PTAD=_data;          
     _asm{
          bset 1,PTGD          // E_RD=1;
          nop
          bclr 1,PTGD          // E_RD=0;
          nop
          bset 2,PTGD         //CSB=1;
          bset 0,PTGD         //RW_WR=1;
          bclr 3,PTGD         //RS/A0=0;
     };
     }
     
void ReadEEPROM(void)
{
writeCommand(0x30);   // Ext = 0
writeCommand(0x07);   // Initial code (1)
writeData(0x19);
writeCommand(0x31);   // Ext = 1
writeCommand(0xCD );  // EEPROM ON
writeData(0x00);       // Entry "Read Mode"
delay(30);            // Waite for EEPROM Operation ( 100ms )
writeCommand(0xFD);   // Start EEPROM Reading Operation
delay(30);            // Waite for EEPROM Operation ( 100ms )
writeCommand(0xCC);   // Exist EEPORM Mode
writeCommand(0x30);   // Ext = 0
}
void initial(void)
    {
     delay(100);
     delay (10);
     writeCommand(0x30);  //ext=0;
     writeCommand(0x94);  //sleep out
     writeCommand(0xd1);  //osc on
     delay (10);
     writeCommand(0x20); writeData(0x08);  //vb on  //power control set 
     delay(500);
     writeCommand(0x20);  //power control set 
     writeData(0x0b);  //vr   on
     writeCommand(0x81);  //set vop
     writeData(duibidu1); 
     writeData(duibidu2);
     writeCommand(0xca);  //display control
     writeData(0x04);
     writeData(0x27);  //set duty 1/112
     writeData(0x00);  //set n-line      //06 
     writeCommand(0xbb);   //set scan displau 
     writeData(0x01);     //0-79,80-159
     writeCommand(0xa7);   //set normal display
      
     writeCommand(0x31); //ext=1 
     writeCommand(0x32);   //analog circuit set 
     writeData(0x04); 
     writeData(0x01);
     writeData(0x00);       //Bias,1/14
     delay (10);          //显示延时
     writeCommand(0x34);  //部分显示
     delay (10);
     writeCommand(0x20);   // SET GRAY VALUE
     writeData(0X00);  // START PARA  00
  writeData(0X03);  // START PARA  03
  writeData(0X06);  // START PARA  06
  writeData(0X09);  // START PARA  09

  writeData(0X0B);  // START PARA
  writeData(0X0D);  // START PARA
  writeData(0X0E);  // START PARA
  writeData(0X0F);  // START PARA
  writeData(0X10);  // START PARA
  writeData(0X11);  // START PARA
  writeData(0X12);  // START PARA
  writeData(0X14);  // START PARA

  writeData(0X16);  // START PARA
  writeData(0X18);  // START PARA
  writeData(0X1B);  // START PARA
  writeData(0X1F);  // START PARA
  //******************************************

  writeCommand(0X21);    // SET GRAY VALUE

  writeData(0X00);  // START PARA  00
  writeData(0X03);  // START PARA  03
  writeData(0X06);  // START PARA  06
  writeData(0X09);  // START PARA  09

  writeData(0X0B);  // START PARA
  writeData(0X0D);  // START PARA
  writeData(0X0E);  // START PARA
  writeData(0X0F);  // START PARA

  writeData(0X10);  // START PARA
  writeData(0X11);  // START PARA
  writeData(0X12);  // START PARA
  writeData(0X14);  // START PARA

  writeData(0X16);  // START PARA
  writeData(0X18);  // START PARA
  writeData(0X1B);  // START PARA
  writeData(0X1F);  // START PARA

//******************************************
  writeCommand(0X30);    writeCommand(0XBC);   writeData(0X02);  
  writeData(0X01);  writeData(0X02); 
  writeCommand(0X75);   writeData(0X00); 
  writeData(0X9f); delay (5);

  writeCommand(0X15);   
  writeData(0X05);  
  writeData(0X54);  
  delay (5);

   writeCommand(0x030);
   writeCommand(0x07);
   writeData(0x19);
   writeCommand(0x031);
   writeCommand(0XCD);
   writeData(0X00);
   delay (20);
   delay (20);
   delay (20);
  writeCommand(0XFD);
   delay (20);
   delay (20);
   delay (20);
   writeCommand(0XCC);
     
     writeCommand(0x14);   //dithering off 没有进行灰度控制
     ReadEEPROM();
     writeCommand(0x30);
     writeCommand(0xaf);  //
     }
 
void clrdisplay(void){
          uint j,k;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0xa7);
          writeCommand(0x15); //colum
          writeData(0x00);
          writeData(0xef);
          writeCommand(0x75); //line
          writeData(0x00);
          writeData(0x9f);
          for(j=0;j<160;j++){
           __RESET_WATCHDOG(); /* feeds the dog */
         writeCommand(0x75); //line
          writeData(j);
          writeData(0x9f);  
          
         writeCommand(0x5c);
         for(k=0;k<120;k++){
         writeData(0x04);
         writeData(0x04);
         writeData(0x04);
          } 
         for(k=0;k<120;k++){
         writeCommand(0x15); //colum
         writeData(k);
         writeData(0xef);
         writeCommand(0x5c);
         writeData(0x04);
         writeData(0x04);
         writeData(0x04);
          }          
}   
}
void disreChinese(a,b,c,d,k){              //字符写入方式为从左到右 从上到下;中文反显
          uint j;
          uchar temp,data,e,f,g;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(a);
          writeData(b);
          writeCommand(0x75); //line
          writeData(c);
          writeData(d);
          writeCommand(0x5c);
          for (j=0;j<32;j++)
                  {temp=~chinese[k][j++];
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  
                   temp=~chinese[k][j];     //写第二字节
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  writeData(data);
                   writeCommand(0x15); //colum
                    writeData(a);
                    writeData(b);
          writeCommand(0x75); //line
          writeData(c++);
          writeData(d);
          writeCommand(0x5c);
          __RESET_WATCHDOG(); /* feeds the dog */
                   }
}  

//-------------------------------------------------------显示坐标轴----------------------------------------------------
void disaxis(){         
       uint j,i;                                
       uchar position=0x00;
       writeCommand(0x30);              //横坐标
       writeCommand(0xbc);
       writeData(0x00);
       writeData(0x00);
       writeData(0x04);
       writeCommand(0x15); //colum
          writeData(0x05);
          writeData(0x46);     //b
          writeCommand(0x75); //line
          writeData(0x32);
          writeData(0x33);     //d
          writeCommand(0x5c);
          for(j=0;j<=65;j++){
               
             writeData(0xfc);
              writeData(0xfc);
              writeData(0xfc);
             
          }
      
     for(j=1;j<=6;j++){
       writeCommand(0x15); //colum
          writeData(0x05+j*10);
          writeData(0x46);     //b
          writeCommand(0x75); //line
          writeData(0x31);
          writeData(0x32);     //d
          writeCommand(0x5c);
         
               writeData(0xfc);
               writeData(0xfc);
               writeData(0xfc);
           }
         
               
       writeCommand(0x30);              //纵坐标
       writeCommand(0xbc);
       writeData(0x00);
       writeData(0x00);
       writeData(0x04);
       writeCommand(0x15); //colum
          writeData(0x05);
          writeData(0x06);     //b
          writeCommand(0x75); //line
          writeData(0x00);
          writeData(0x64);     //d
          writeCommand(0x5c);
          for(j=0;j<=100;j++){
          
             writeData(0x04);
              writeData(0x04);
               writeData(0x0fc);
     writeCommand(0x15); //colum
          writeData(0x05);
          writeData(0x06);     //b
          writeCommand(0x75); //line
          writeData(position++);
          writeData(0x64);     //d
          writeCommand(0x5c);
          } 
          


}
 
//------------------------------------------------显示波形-------------------------------------------------
void diswave(){
    //uint j,num[61];
    //for(j=0;j<=60;j++){
    //num[j]=(int)sin();
    
   
    


}


//-----------------------------------------------对比度的框架-----------------------------------------------
void disrect(){                         

          uint j;  /*
          uchar position=0x52;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(0x00);
          writeData(0x01);     //b
          writeCommand(0x75); //line
          writeData(0x52);
          writeData(0x72);     //d
          writeCommand(0x5c);
           for(j=0;j<32;j++) {
           

               writeData(0xfc);
               writeData(0xfc);
               writeData(0xfc);
 
          writeCommand(0x15); //colum
          writeData(0x00);
          writeData(0x01);     //b
          writeCommand(0x75); //line
          writeData(position++);
          writeData(0x72);     //d
          writeCommand(0x5c);
          __RESET_WATCHDOG(); //feeds the dog 

            }
            
            
            position=0x52;
            writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(0x4f);
          writeData(0x50);     //b
          writeCommand(0x75); //line
          writeData(0x52);
          writeData(0x72);     //d
          writeCommand(0x5c);
           for(j=0;j<32;j++) {
           

               writeData(0xfc);
               writeData(0xfc);
               writeData(0xfc);
 
          writeCommand(0x15); //colum
          writeData(0x4f);
          writeData(0x50);     //b
          writeCommand(0x75); //line
          writeData(position++);
          writeData(0x72);     //d
          writeCommand(0x5c);
          __RESET_WATCHDOG(); //feeds the dog 

            }
              */
            
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x00);
          writeCommand(0x15); //colum
          writeData(0x00);
          writeData(0x50);     //b
          writeCommand(0x75); //line
          writeData(0x52);
          writeData(0x53);     //d
          writeCommand(0x5c);
             for(j=0;j<80;j++) {
           

               writeData(0xfc);
               writeData(0xfc);
               writeData(0xfc);
 
            
             }
             
             
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x00);
          writeCommand(0x15); //colum
          writeData(0x00);
          writeData(0x50);     //b
          writeCommand(0x75); //line
          writeData(0x71);
          writeData(0x72);     //d
          writeCommand(0x5c);
             for(j=0;j<80;j++) {
           

               writeData(0xfc);
               writeData(0xfc);
               writeData(0xfc);
 
            
             }
            
            
}

void disaddrec(uint add){                    //对比度的方块增加

       uint i,j;
          uchar position=0x54;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(0x00+0x05*add);
          writeData(0x05+0x05*add);     //b
          writeCommand(0x75); //line
          writeData(0x54);
          writeData(0x70);     //d
          writeCommand(0x5c);
           for(j=0;j<30;j++) {
           
               for(i=0;i<5;i++) {
                
               writeData(0xfc);
               writeData(0xfc);
               writeData(0xfc);
               }
          writeCommand(0x15); //colum
          writeData(0x00+0x05*add);
          writeData(0x05+0x05*add);     //b
          writeCommand(0x75); //line
          writeData(position++);
          writeData(0x70);     //d
          writeCommand(0x5c);
          __RESET_WATCHDOG(); /* feeds the dog */

            }


}


void dissubrec(uint add){                    //对比度的方块减少

       uint i,j;
          uchar position=0x54;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(0x00+0x05*add);
          writeData(0x05+0x05*add);     //b
          writeCommand(0x75); //line
          writeData(0x54);
          writeData(0x70);     //d
          writeCommand(0x5c);
           for(j=0;j<30;j++) {
           
               for(i=0;i<5;i++) {
                
               writeData(0x04);
               writeData(0x04);
               writeData(0x04);
               }
          writeCommand(0x15); //colum
          writeData(0x00+0x05*add);
          writeData(0x05+0x05*add);     //b
          writeCommand(0x75); //line
          writeData(position++);
          writeData(0x70);     //d
          writeCommand(0x5c);
          __RESET_WATCHDOG(); /* feeds the dog */

            }


}

void disbigLogo(a,b,c,d,k){              //字符写入方式为从左到右 从上到下方式
          uint j;
          uchar temp,data,e,f,g;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(a);
          writeData(b);
          writeCommand(0x75); //line
          writeData(c);
          writeData(d);
          writeCommand(0x5c);
          for (j=0;j<128;j++)
                  {temp=biglogo[k][j++];
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  
                   temp=biglogo[k][j++];     //写第二字节
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  
                 temp=biglogo[k][j++]; //
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  
                   temp=biglogo[k][j];     //写第四字节
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                    
                  writeData(data);
                   writeCommand(0x15); //colum
                    writeData(a);
                    writeData(b);
          writeCommand(0x75); //line
          writeData(c++);
          writeData(d);
          writeCommand(0x5c);
          __RESET_WATCHDOG(); /* feeds the dog */
                   }
}   

void dis24bigChinese(a,b,c,d,k){              //字符写入方式为从左到右 从上到下方式
          uint j;
          uchar temp,data,e,f,g;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(a);
          writeData(b);
          writeCommand(0x75); //line
          writeData(c);
          writeData(d);
          writeCommand(0x5c);
          for (j=0;j<63;j++)
                  {temp=big24chinese[k][j++];
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  
                   temp=big24chinese[k][j++];     //写第二字节
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                   temp=big24chinese[k][j];     //写三字节
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                    
                  writeData(data);
                   writeCommand(0x15); //colum
                    writeData(a);
                    writeData(b);
          writeCommand(0x75); //line
          writeData(c++);
          writeData(d);
          writeCommand(0x5c);
          __RESET_WATCHDOG(); /* feeds the dog */
                   }
}   //

void disbigChinese(a,b,c,d,k){              //字符写入方式为从左到右 从上到下方式
          uint j;
          uchar temp,data,e,f,g;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(a);
          writeData(b);
          writeCommand(0x75); //line
          writeData(c);
          writeData(d);
          writeCommand(0x5c);
          for (j=0;j<120;j++)
                  {temp=bigchinese[k][j++];
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  g=0xfc;
                  }
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  
                   temp=bigchinese[k][j++];     //写第二字节
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  
                 temp=bigchinese[k][j++]; //
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  
                   temp=bigchinese[k][j];     //写第四字节
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                    
                  writeData(data);
                   writeCommand(0x15); //colum
                    writeData(a);
                    writeData(b);
          writeCommand(0x75); //line
          writeData(c++);
          writeData(d);
          writeCommand(0x5c);
          __RESET_WATCHDOG(); /* feeds the dog */
                   }
}   
void disChinese(a,b,c,d,k){              //字符写入方式为从左到右 从上到下
          uint j;
          uchar temp,data,e,f,g;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(a);
          writeData(b);
          writeCommand(0x75); //line
          writeData(c);
          writeData(d);
          writeCommand(0x5c);
          for (j=0;j<32;j++)
                  {temp=chinese[k][j++];
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  
                  temp=chinese[k][j];     //写第二字节
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  writeData(data);
                   writeCommand(0x15); //colum
                    writeData(a);
                    writeData(b);
          writeCommand(0x75); //line
          writeData(c++);
          writeData(d);
          writeCommand(0x5c);
          __RESET_WATCHDOG(); /* feeds the dog */
                   }
}  
void disbigASC(a,b,c,d,k){              //字符写入方式为从左到右 从上到下
          uint j;
          uchar temp,data,e,f,g;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(a);
          writeData(b);
          writeCommand(0x75); //line
          writeData(c);
          writeData(d);
          writeCommand(0x5c);
          for (j=0;j<48;j++)
                  {temp=bigASCII[k][j++];
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  
                  temp=bigASCII[k][j];     //写第二字节
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  //writeData(data);
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  //writeData(data);
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  writeData(data);
                   writeCommand(0x15); //colum
                    writeData(a);
                    writeData(b);
          writeCommand(0x75); //line
          writeData(c++);
          writeData(d);
          writeCommand(0x5c);
          __RESET_WATCHDOG(); /* feeds the dog */
                   }
}  
void disreASC(a,b,c,d,k){     //西文反显
          uint j;
          uchar temp,data,e,f,g;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(a);
          writeData(b);
          writeCommand(0x75); //line
          writeData(c);
          writeData(d);
          writeCommand(0xa7);
          writeCommand(0x5c);
          for (j=0;j<16;j++)
                  {temp=~ASCII[k][j];
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  writeCommand(0x15); //colum
                  writeData(a);
                  writeData(b);
          writeCommand(0x75); //line
          writeData(c++);
          writeData(d);
          writeCommand(0x5c);
                   }
} 
void disASC(a,b,c,d,k){ 
          uint j;
          uchar temp,data,e,f,g;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(a);
          writeData(b);
          writeCommand(0x75); //line
          writeData(c);
          writeData(d);
          writeCommand(0xa7);
          writeCommand(0x5c);
          for (j=0;j<16;j++)
                  {temp=ASCII[k][j];
                  data=temp&0x80;  //最高位
                  if(data>=0x80)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  } 
                  data=temp&0x40;  //次高位
                  if(data>=0x40)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  data=temp&0x20;  //
                  if(data>=0x20)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x10;  //
                  if(data>=0x10)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  
                  data=temp&0x08;  //
                  if(data>=0x08)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  data=temp&0x04;  //
                  if(data>=0x04)
                  {
                  g=0xfc;}
                   else{
                  g=0x04;
                  }
                  writeData(e);
                  writeData(f);
                  writeData(g);
                  
                  data=temp&0x02;  //
                  if(data>=0x02)
                  {
                  e=0xfc;}
                   else{
                  e=0x04;
                  }
                  data=temp&0x01;  //
                  if(data>=0x01)
                  {
                  f=0xfc;}
                   else{
                  f=0x04;
                  }
                  
                  writeData(e);
                  writeData(f);
                  writeCommand(0x15); //colum
                  writeData(a);
                  writeData(b);
          writeCommand(0x75); //line
          writeData(c++);
          writeData(d);
          writeCommand(0x5c);
                   }
}   
void dis_bank(a,b,c,d){ 
          uint j;
          writeCommand(0x30);
          writeCommand(0xbc);
          writeData(0x00);
          writeData(0x00);
          writeData(0x04);
          writeCommand(0x15); //colum
          writeData(a);
          writeData(b);
          writeCommand(0x75); //line
          writeData(c);
          writeData(d);
          writeCommand(0xa7);
          writeCommand(0x5c);
          for (j=0;j<16;j++)
                  {
                  writeData(0x04);
                  writeData(0x04);
                  writeData(0x04);
                  _asm{
                  nop
                  nop
                  };
                  writeData(0x04);
                  writeData(0x04);
                  writeData(0x04);
                  _asm{
                  nop
                  nop
                  };
                  writeData(0x04);
                  writeData(0x04);
                  writeCommand(0x15); //colum
                  writeData(a);
                  writeData(b);
          writeCommand(0x75); //line
          writeData(c++);
          writeData(d);
          writeCommand(0x5c);
} 
}

void duibiduoper(dui1,dui2)
{
writeCommand(0x81);
writeData(dui1);
writeData(dui2);
}

void Mainmenu(){
 clrdisplay();
//duibidu_re=&duibidu_rex1;
//*duibidu_re=duibidu1;
//delay(100);
 //delay(100);
 //distap();
 //discompany();
 companyLOGO();
 Capital();
//company();
 //delay(50);
 Mealue_data1=0xa5;//初始化在主菜单下
 dismenumain1();
  //delay(200);
  dismenumain2();
  dismenumain3();
  dismenumain4();
  dismenumain5();
  dismenumain6();
  dismenumain7();
  dismenumain8();
  dismenumain9();
  dismenumain10();
  dismenumain11();
  dismenumain12();



}

void LCD_init(void){ 
initial();
clrdisplay();
duibidu_re=&duibidu_rex1;
*duibidu_re=duibidu1;
//delay(100);
 //delay(100);
 //distap();
 //discompany();
companyLOGO();
Capital();
//company();
 //delay(50);
 Mealue_data1=0xa5;//初始化在主菜单下
 dismenumain1();
  //delay(200);
  dismenumain2();
  dismenumain3();
  dismenumain4();
  dismenumain5();
  dismenumain6();
  dismenumain7();
  dismenumain8();
  dismenumain9();
  dismenumain10();
  dismenumain11();
  dismenumain12(); 

}


© 著作权归作者所有

涂Sir
粉丝 0
博文 11
码字总数 9066
作品 0
金华
私信 提问

暂无文章

Docker 可视化管理 portainer

官网安装指南: https://portainer.readthedocs.io/en/latest/deployment.html docker-compose.yml 位置,下载地址:https://downloads.portainer.io/docker-compose.yml...

Moks角木
39分钟前
5
0
Spring Security 实战干货:必须掌握的一些内置 Filter

1. 前言 上一文我们使用 Spring Security 实现了各种登录聚合的场面。其中我们是通过在 UsernamePasswordAuthenticationFilter 之前一个自定义的过滤器实现的。我怎么知道自定义过滤器要加在...

码农小胖哥
42分钟前
7
0
常见分布式事务解决方案

1 微服务的发展 微服务倡导将复杂的单体应用拆分为若干个功能简单、松耦合的服务,这样可以降低开发难度、增强扩展性、便于敏捷开发。当前被越来越多的开发者推崇,很多互联网行业巨头、开源...

asdf08442a
42分钟前
3
0
influxdb continuous queries(cq)从入门到放弃

从前一篇influxdb的文章prometheus基于influxdb的监控数据持久化存储方案完成之后,就一直在折腾influxdb发布测试和生产环境的问题,经过接近2个月的验证,最终发现使用influxdb自带cq的方案...

狗陈
54分钟前
7
0
7.线程通信

在现实生活中,如果一个人团队正在共同完成任务,那么他们之间应该有通信,以便正确完成任务。 同样的比喻也适用于线程。 在编程中,要减少处理器的理想时间,我们创建了多个线程,并为每个线...

Eappo_Geng
59分钟前
6
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部