www.pudn.com > NRF24L01receive.rar > CODE.h, change:2010-06-20,size:10996b


/****************************************************************** 
创建人:陈志强 
时间:2010.5.17 
功能:LCD12864液晶函数 
******************************************************************/ 
// ------------------  汉字字模的数据结构定义 ------------------------ // 
typedef struct typFNT_GB12                 // 汉字字模数据结构 
{ 
       signed char Index[2];               // 汉字内码索引 
       char Msk[24];                       // 点阵码数据 
}; 
 
///////////////////////////////////////////////////////////////////////// 
// 汉字字模表                                                          // 
// 汉字库: 宋体12.dot 纵向取模下高位,数据排列:从左到右从上到下         // 
///////////////////////////////////////////////////////////////////////// 
struct typFNT_GB12 code GB_12[] =          // 数据表 
{ 
"当", 0x00,0x20,0xA4,0xA8,0xA0,0xBF,0xA0,0xB0, 
      0xA8,0xA6,0xF0,0x20,0x00,0x04,0x04,0x04, 
      0x04,0x04,0x04,0x04,0x04,0x04,0x0F,0x00, 
 
"前", 0x04,0xF4,0x54,0x55,0x56,0xF4,0x04,0xF6, 
      0x05,0x04,0xF6,0x04,0x00,0x0F,0x01,0x01, 
      0x09,0x0F,0x00,0x03,0x04,0x08,0x07,0x00, 
 
"温", 0x88,0xD1,0x22,0x80,0xBF,0x95,0x95,0x95, 
      0x95,0xBF,0x80,0x00,0x00,0x0F,0x08,0x0F, 
      0x08,0x0F,0x08,0x08,0x0F,0x08,0x0F,0x08, 
 
"度", 0x00,0x00,0xFE,0x0A,0x8A,0xBE,0xAB,0xAA, 
      0xBE,0x0A,0x0A,0x00,0x0C,0x02,0x09,0x08, 
      0x04,0x05,0x02,0x05,0x04,0x08,0x08,0x08 
}; 
 
// 汉字表: 
// 当前温度: 
// ------------------  ASCII字模的数据表 ------------------------ // 
// 码表从0x20~0x7e                                                // 
// 字库: E:\单片机专用\lcd汉字取模软件\Asc8X16E.dat 纵向取模下高位// 
// -------------------------------------------------------------- // 
unsigned char code nAsciiDot816[][16]=              // ASCII 
{ 
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,  // - - 
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 
 
	0x00,0x00,0x38,0xFC,0xFC,0x38,0x00,0x00,  // -!- 
	0x00,0x00,0x00,0x0D,0x0D,0x00,0x00,0x00, 
 
	0x00,0x0E,0x1E,0x00,0x00,0x1E,0x0E,0x00,  // -"- 
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 
 
	0x20,0xF8,0xF8,0x20,0xF8,0xF8,0x20,0x00,  // -#- 
	0x02,0x0F,0x0F,0x02,0x0F,0x0F,0x02,0x00, 
 
	0x38,0x7C,0x44,0x47,0x47,0xCC,0x98,0x00,  // -$- 
	0x03,0x06,0x04,0x1C,0x1C,0x07,0x03,0x00, 
 
	0x30,0x30,0x00,0x80,0xC0,0x60,0x30,0x00,  // -%- 
	0x0C,0x06,0x03,0x01,0x00,0x0C,0x0C,0x00, 
 
	0x80,0xD8,0x7C,0xE4,0xBC,0xD8,0x40,0x00,  // -&- 
	0x07,0x0F,0x08,0x08,0x07,0x0F,0x08,0x00, 
 
	0x00,0x10,0x1E,0x0E,0x00,0x00,0x00,0x00,  // -'- 
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 
 
	0x00,0x00,0xF0,0xF8,0x0C,0x04,0x00,0x00,  // -(- 
	0x00,0x00,0x03,0x07,0x0C,0x08,0x00,0x00, 
 
	0x00,0x00,0x04,0x0C,0xF8,0xF0,0x00,0x00,  // -)- 
	0x00,0x00,0x08,0x0C,0x07,0x03,0x00,0x00, 
 
	0x80,0xA0,0xE0,0xC0,0xC0,0xE0,0xA0,0x80,  // -*- 
	0x00,0x02,0x03,0x01,0x01,0x03,0x02,0x00, 
 
	0x00,0x80,0x80,0xE0,0xE0,0x80,0x80,0x00,  // -+- 
	0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00, 
 
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,  // -,- 
	0x00,0x00,0x10,0x1E,0x0E,0x00,0x00,0x00, 
 
	0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,  // --- 
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 
 
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,  // -.- 
	0x00,0x00,0x00,0x0C,0x0C,0x00,0x00,0x00, 
 
	0x00,0x00,0x00,0x80,0xC0,0x60,0x30,0x00,  // -/- 
	0x0C,0x06,0x03,0x01,0x00,0x00,0x00,0x00, 
 
	0xF8,0xFC,0x04,0xC4,0x24,0xFC,0xF8,0x00,  // -0- 
	0x07,0x0F,0x09,0x08,0x08,0x0F,0x07,0x00, 
 
	0x00,0x10,0x18,0xFC,0xFC,0x00,0x00,0x00,  // -1- 
	0x00,0x08,0x08,0x0F,0x0F,0x08,0x08,0x00, 
 
	0x08,0x0C,0x84,0xC4,0x64,0x3C,0x18,0x00,  // -2- 
	0x0E,0x0F,0x09,0x08,0x08,0x0C,0x0C,0x00, 
 
	0x08,0x0C,0x44,0x44,0x44,0xFC,0xB8,0x00,  // -3- 
	0x04,0x0C,0x08,0x08,0x08,0x0F,0x07,0x00, 
 
	0xC0,0xE0,0xB0,0x98,0xFC,0xFC,0x80,0x00,  // -4- 
	0x00,0x00,0x00,0x08,0x0F,0x0F,0x08,0x00, 
 
	0x7C,0x7C,0x44,0x44,0xC4,0xC4,0x84,0x00,  // -5- 
	0x04,0x0C,0x08,0x08,0x08,0x0F,0x07,0x00, 
 
	0xF0,0xF8,0x4C,0x44,0x44,0xC0,0x80,0x00,  // -6- 
	0x07,0x0F,0x08,0x08,0x08,0x0F,0x07,0x00, 
 
	0x0C,0x0C,0x04,0x84,0xC4,0x7C,0x3C,0x00,  // -7- 
	0x00,0x00,0x0F,0x0F,0x00,0x00,0x00,0x00, 
 
	0xB8,0xFC,0x44,0x44,0x44,0xFC,0xB8,0x00,  // -8- 
	0x07,0x0F,0x08,0x08,0x08,0x0F,0x07,0x00, 
 
	0x38,0x7C,0x44,0x44,0x44,0xFC,0xF8,0x00,  // -9- 
	0x00,0x08,0x08,0x08,0x0C,0x07,0x03,0x00, 
 
	0x00,0x00,0x00,0x30,0x30,0x00,0x00,0x00,  // -:- 
	0x00,0x00,0x00,0x06,0x06,0x00,0x00,0x00, 
 
	0x00,0x00,0x00,0x30,0x30,0x00,0x00,0x00,  // -;- 
	0x00,0x00,0x08,0x0E,0x06,0x00,0x00,0x00, 
 
	0x00,0x80,0xC0,0x60,0x30,0x18,0x08,0x00,  // -<- 
	0x00,0x00,0x01,0x03,0x06,0x0C,0x08,0x00, 
 
	0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,  // -=- 
	0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00, 
 
	0x00,0x08,0x18,0x30,0x60,0xC0,0x80,0x00,  // ->- 
	0x00,0x08,0x0C,0x06,0x03,0x01,0x00,0x00, 
 
	0x18,0x1C,0x04,0xC4,0xE4,0x3C,0x18,0x00,  // -?- 
	0x00,0x00,0x00,0x0D,0x0D,0x00,0x00,0x00, 
 
	0xF0,0xF8,0x08,0xC8,0xC8,0xF8,0xF0,0x00,  // -@- 
	0x07,0x0F,0x08,0x0B,0x0B,0x0B,0x01,0x00, 
 
	0xE0,0xF0,0x98,0x8C,0x98,0xF0,0xE0,0x00,  // -A- 
	0x0F,0x0F,0x00,0x00,0x00,0x0F,0x0F,0x00, 
 
	0x04,0xFC,0xFC,0x44,0x44,0xFC,0xB8,0x00,  // -B- 
	0x08,0x0F,0x0F,0x08,0x08,0x0F,0x07,0x00, 
 
	0xF0,0xF8,0x0C,0x04,0x04,0x0C,0x18,0x00,  // -C- 
	0x03,0x07,0x0C,0x08,0x08,0x0C,0x06,0x00, 
 
	0x04,0xFC,0xFC,0x04,0x0C,0xF8,0xF0,0x00,  // -D- 
	0x08,0x0F,0x0F,0x08,0x0C,0x07,0x03,0x00, 
 
	0x04,0xFC,0xFC,0x44,0xE4,0x0C,0x1C,0x00,  // -E- 
	0x08,0x0F,0x0F,0x08,0x08,0x0C,0x0E,0x00, 
 
	0x04,0xFC,0xFC,0x44,0xE4,0x0C,0x1C,0x00,  // -F- 
	0x08,0x0F,0x0F,0x08,0x00,0x00,0x00,0x00, 
 
	0xF0,0xF8,0x0C,0x84,0x84,0x8C,0x98,0x00,  // -G- 
	0x03,0x07,0x0C,0x08,0x08,0x07,0x0F,0x00, 
 
	0xFC,0xFC,0x40,0x40,0x40,0xFC,0xFC,0x00,  // -H- 
	0x0F,0x0F,0x00,0x00,0x00,0x0F,0x0F,0x00, 
 
	0x00,0x00,0x04,0xFC,0xFC,0x04,0x00,0x00,  // -I- 
	0x00,0x00,0x08,0x0F,0x0F,0x08,0x00,0x00, 
 
	0x00,0x00,0x00,0x04,0xFC,0xFC,0x04,0x00,  // -J- 
	0x07,0x0F,0x08,0x08,0x0F,0x07,0x00,0x00, 
 
	0x04,0xFC,0xFC,0xC0,0xF0,0x3C,0x0C,0x00,  // -K- 
	0x08,0x0F,0x0F,0x00,0x01,0x0F,0x0E,0x00, 
 
	0x04,0xFC,0xFC,0x04,0x00,0x00,0x00,0x00,  // -L- 
	0x08,0x0F,0x0F,0x08,0x08,0x0C,0x0E,0x00, 
 
	0xFC,0xFC,0x38,0x70,0x38,0xFC,0xFC,0x00,  // -M- 
	0x0F,0x0F,0x00,0x00,0x00,0x0F,0x0F,0x00, 
 
	0xFC,0xFC,0x38,0x70,0xE0,0xFC,0xFC,0x00,  // -N- 
	0x0F,0x0F,0x00,0x00,0x00,0x0F,0x0F,0x00, 
 
	0xF0,0xF8,0x0C,0x04,0x0C,0xF8,0xF0,0x00,  // -O- 
	0x03,0x07,0x0C,0x08,0x0C,0x07,0x03,0x00, 
 
	0x04,0xFC,0xFC,0x44,0x44,0x7C,0x38,0x00,  // -P- 
	0x08,0x0F,0x0F,0x08,0x00,0x00,0x00,0x00, 
 
	0xF8,0xFC,0x04,0x04,0x04,0xFC,0xF8,0x00,  // -Q- 
	0x07,0x0F,0x08,0x0E,0x3C,0x3F,0x27,0x00, 
 
	0x04,0xFC,0xFC,0x44,0xC4,0xFC,0x38,0x00,  // -R- 
	0x08,0x0F,0x0F,0x00,0x00,0x0F,0x0F,0x00, 
 
	0x18,0x3C,0x64,0x44,0xC4,0x9C,0x18,0x00,  // -S- 
	0x06,0x0E,0x08,0x08,0x08,0x0F,0x07,0x00, 
 
	0x00,0x1C,0x0C,0xFC,0xFC,0x0C,0x1C,0x00,  // -T- 
	0x00,0x00,0x08,0x0F,0x0F,0x08,0x00,0x00, 
 
	0xFC,0xFC,0x00,0x00,0x00,0xFC,0xFC,0x00,  // -U- 
	0x07,0x0F,0x08,0x08,0x08,0x0F,0x07,0x00, 
 
	0xFC,0xFC,0x00,0x00,0x00,0xFC,0xFC,0x00,  // -V- 
	0x01,0x03,0x06,0x0C,0x06,0x03,0x01,0x00, 
 
	0xFC,0xFC,0x00,0x80,0x00,0xFC,0xFC,0x00,  // -W- 
	0x03,0x0F,0x0E,0x03,0x0E,0x0F,0x03,0x00, 
 
	0x0C,0x3C,0xF0,0xC0,0xF0,0x3C,0x0C,0x00,  // -X- 
	0x0C,0x0F,0x03,0x00,0x03,0x0F,0x0C,0x00, 
 
	0x00,0x3C,0x7C,0xC0,0xC0,0x7C,0x3C,0x00,  // -Y- 
	0x00,0x00,0x08,0x0F,0x0F,0x08,0x00,0x00, 
 
	0x1C,0x0C,0x84,0xC4,0x64,0x3C,0x1C,0x00,  // -Z- 
	0x0E,0x0F,0x09,0x08,0x08,0x0C,0x0E,0x00, 
 
	0x00,0x00,0xFC,0xFC,0x04,0x04,0x00,0x00,  // -[- 
	0x00,0x00,0x0F,0x0F,0x08,0x08,0x00,0x00, 
 
	0x38,0x70,0xE0,0xC0,0x80,0x00,0x00,0x00,  // -\- 
	0x00,0x00,0x00,0x01,0x03,0x07,0x0E,0x00, 
 
	0x00,0x00,0x04,0x04,0xFC,0xFC,0x00,0x00,  // -]- 
	0x00,0x00,0x08,0x08,0x0F,0x0F,0x00,0x00, 
 
	0x08,0x0C,0x06,0x03,0x06,0x0C,0x08,0x00,  // -^- 
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 
 
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,  // -_- 
	0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, 
 
	0x00,0x00,0x03,0x07,0x04,0x00,0x00,0x00,  // -`- 
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 
 
	0x00,0xA0,0xA0,0xA0,0xE0,0xC0,0x00,0x00,  // -a- 
	0x07,0x0F,0x08,0x08,0x07,0x0F,0x08,0x00, 
 
	0x04,0xFC,0xFC,0x20,0x60,0xC0,0x80,0x00,  // -b- 
	0x08,0x0F,0x07,0x08,0x08,0x0F,0x07,0x00, 
 
	0xC0,0xE0,0x20,0x20,0x20,0x60,0x40,0x00,  // -c- 
	0x07,0x0F,0x08,0x08,0x08,0x0C,0x04,0x00, 
 
	0x80,0xC0,0x60,0x24,0xFC,0xFC,0x00,0x00,  // -d- 
	0x07,0x0F,0x08,0x08,0x07,0x0F,0x08,0x00, 
 
	0xC0,0xE0,0xA0,0xA0,0xA0,0xE0,0xC0,0x00,  // -e- 
	0x07,0x0F,0x08,0x08,0x08,0x0C,0x04,0x00, 
 
	0x40,0xF8,0xFC,0x44,0x0C,0x18,0x00,0x00,  // -f- 
	0x08,0x0F,0x0F,0x08,0x00,0x00,0x00,0x00, 
 
	0xC0,0xE0,0x20,0x20,0xC0,0xE0,0x20,0x00,  // -g- 
	0x27,0x6F,0x48,0x48,0x7F,0x3F,0x00,0x00, 
 
	0x04,0xFC,0xFC,0x40,0x20,0xE0,0xC0,0x00,  // -h- 
	0x08,0x0F,0x0F,0x00,0x00,0x0F,0x0F,0x00, 
 
	0x00,0x00,0x20,0xEC,0xEC,0x00,0x00,0x00,  // -i- 
	0x00,0x00,0x08,0x0F,0x0F,0x08,0x00,0x00, 
 
	0x00,0x00,0x00,0x00,0x20,0xEC,0xEC,0x00,  // -j- 
	0x00,0x30,0x70,0x40,0x40,0x7F,0x3F,0x00, 
 
	0x04,0xFC,0xFC,0x80,0xC0,0x60,0x20,0x00,  // -k- 
	0x08,0x0F,0x0F,0x01,0x03,0x0E,0x0C,0x00, 
 
	0x00,0x00,0x04,0xFC,0xFC,0x00,0x00,0x00,  // -l- 
	0x00,0x00,0x08,0x0F,0x0F,0x08,0x00,0x00, 
 
	0xE0,0xE0,0x60,0xC0,0x60,0xE0,0xC0,0x00,  // -m- 
	0x0F,0x0F,0x00,0x0F,0x00,0x0F,0x0F,0x00, 
 
	0x20,0xE0,0xC0,0x20,0x20,0xE0,0xC0,0x00,  // -n- 
	0x00,0x0F,0x0F,0x00,0x00,0x0F,0x0F,0x00, 
 
	0xC0,0xE0,0x20,0x20,0x20,0xE0,0xC0,0x00,  // -o- 
	0x07,0x0F,0x08,0x08,0x08,0x0F,0x07,0x00, 
 
	0x20,0xE0,0xC0,0x20,0x20,0xE0,0xC0,0x00,  // -p- 
	0x40,0x7F,0x7F,0x48,0x08,0x0F,0x07,0x00, 
 
	0xC0,0xE0,0x20,0x20,0xC0,0xE0,0x20,0x00,  // -q- 
	0x07,0x0F,0x08,0x48,0x7F,0x7F,0x40,0x00, 
 
	0x20,0xE0,0xC0,0x60,0x20,0x60,0xC0,0x00,  // -r- 
	0x08,0x0F,0x0F,0x08,0x00,0x00,0x00,0x00, 
 
	0x40,0xE0,0xA0,0x20,0x20,0x60,0x40,0x00,  // -s- 
	0x04,0x0C,0x09,0x09,0x0B,0x0E,0x04,0x00, 
 
	0x20,0x20,0xF8,0xFC,0x20,0x20,0x00,0x00,  // -t- 
	0x00,0x00,0x07,0x0F,0x08,0x0C,0x04,0x00, 
 
	0xE0,0xE0,0x00,0x00,0xE0,0xE0,0x00,0x00,  // -u- 
	0x07,0x0F,0x08,0x08,0x07,0x0F,0x08,0x00, 
 
	0x00,0xE0,0xE0,0x00,0x00,0xE0,0xE0,0x00,  // -v- 
	0x00,0x03,0x07,0x0C,0x0C,0x07,0x03,0x00, 
 
	0xE0,0xE0,0x00,0x00,0x00,0xE0,0xE0,0x00,  // -w- 
	0x07,0x0F,0x0C,0x07,0x0C,0x0F,0x07,0x00, 
 
	0x20,0x60,0xC0,0x80,0xC0,0x60,0x20,0x00,  // -x- 
	0x08,0x0C,0x07,0x03,0x07,0x0C,0x08,0x00, 
 
	0xE0,0xE0,0x00,0x00,0x00,0xE0,0xE0,0x00,  // -y- 
	0x47,0x4F,0x48,0x48,0x68,0x3F,0x1F,0x00, 
 
	0x60,0x60,0x20,0xA0,0xE0,0x60,0x20,0x00,  // -z- 
	0x0C,0x0E,0x0B,0x09,0x08,0x0C,0x0C,0x00, 
 
	0x00,0x40,0x40,0xF8,0xBC,0x04,0x04,0x00,  // -{- 
	0x00,0x00,0x00,0x07,0x0F,0x08,0x08,0x00, 
 
	0x00,0x00,0x00,0xBC,0xBC,0x00,0x00,0x00,  // -|- 
	0x00,0x00,0x00,0x0F,0x0F,0x00,0x00,0x00, 
 
	0x00,0x04,0x04,0xBC,0xF8,0x40,0x40,0x00,  // -}- 
	0x00,0x08,0x08,0x0F,0x07,0x00,0x00,0x00, 
 
	0x08,0x0C,0x04,0x0C,0x08,0x0C,0x04,0x00,  // -~- 
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 
 
	0x80,0xC0,0x60,0x30,0x60,0xC0,0x80,0x00,  // -- 
	0x07,0x07,0x04,0x04,0x04,0x07,0x07,0x00, 
};