51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示

目录

前言

一、MCU主控选型

二、DHT11温湿度传感器

        1.模块介绍

        2.软件实现

                DHT11.c

                DHT11.h

三、OLED显示屏

        1.模块介绍

        2.软件实现

                OLED.c

                OLED.h

                OLED_Font.h(OLED的字库)

        3.OLED注意事项

                字库中汉字的生成

                 烧录时单片机内存问题

四、整体工程

        main.c

        效果图

        相关知识点

                extern

                数字转字符串   


前言

        在各种智能家居,智能农业中经常可以看到有检测温湿度的传感器。对于温湿度传感器,大家见过的和使用得最多的,可能就是DHT11温湿度传感器。

        对于刚刚入门51单片机的萌新来说,DHT11温湿度传感器确实可以值得玩一玩,接下来就开始介绍介绍这个传感器以及代码控制。


一、MCU主控选型

        首先是单片机主控方面,我使用STC12C5A60S2。当然有很多新生刚刚学51单片机的时候是接触89C52,不过不用担心,这款STC12单片机其实是89C52的升级版,完全兼容89C52的代码,IO口,以及最小系统的电路图和89C52一样,所以会用89C52就会用STC12

51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示_第1张图片51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示_第2张图片

         贴片版本的STC12比直插版本的STC12多了几个P4的IO口。

二、DHT11温湿度传感器

        1.模块介绍

        DHT11数字温湿度传感器是一款含有已校准数字信号输出的温湿度复合传感器,它应用于专用的数字模块采集技术和温湿度传感技术,有着极高的可靠性和稳定性,抗干扰,响应快等优点。采用单线制串行接口,信号传输距离可达20M以上。

      供电电压是3.3-5.5V直流电,温度的测量范围为0-50度,湿度的测量范围是20-90%RH,测量的精度为温度为正负2度,湿度为正负5%RH,温度的分辨率为1度,湿度的分辨率非1%RH。
51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示_第3张图片51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示_第4张图片

        这个模块的电路连接也非常简单(如图)

51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示_第5张图片

        2.软件实现

                DHT11.c

#include 
#include "Delay.H"
sbit DHT11_IO=P1^1;
char DHT11_dat[16];   //用于显示的接收数据数组 
//DHT11起始信号
 
void DHT11_start()	
{
	DHT11_IO=1;
	Delaynus(2);
	DHT11_IO=0;
	Delaynms(20);
	DHT11_IO=1;
	Delaynus(13);
 
}
 
//接收一个字节
unsigned char DHT11_rec_byte()
{
	
	unsigned char i,dat;
 
	
	for(i=0;i<8;i++)
	{
			while(!DHT11_IO);//度过54us低电平
		  Delaynus(16);//延时30us后判断高电平为1否则为零
			dat<<=1;
			if(DHT11_IO==1)
			{
				dat+=1;
			}
			while(DHT11_IO);
	}
 
	return dat;
 
	
}
 
 
//接收温湿度数据
void DHT11_get_Data()
{
	unsigned int R_H,R_L,T_H,T_L;
	unsigned char RH,RL,TH,TL,revise;
	
	DHT11_start();
//	Temp_data=1;
	if(DHT11_IO==0)//接收83us的应答信号,
	{
		while(DHT11_IO==0);   //等待拉高现在data为1     
		    while(DHT11_IO);//退出通知单片机接受信号
        R_H=DHT11_rec_byte();    //接收湿度高八位  
        R_L=DHT11_rec_byte();    //接收湿度低八位  
        T_H=DHT11_rec_byte();    //接收温度高八位  
        T_L=DHT11_rec_byte();    //接收温度低八位
        revise=DHT11_rec_byte(); //接收校正位
 
        Delaynus(25);    //结束
 
        if((R_H+R_L+T_H+T_L)==revise)      //校正
        {
            RH=R_H;
            RL=R_L;
            TH=T_H;
            TL=T_L;
	
        } 
        /*数据处理,方便显示*/
        DHT11_dat[0]='0'+(RH/10);
        DHT11_dat[1]='0'+(RH%10);
	    DHT11_dat[2] =' ';
		DHT11_dat[3] = 'R' ;
		DHT11_dat[4] = 'H';
        DHT11_dat[5]=' ';
        DHT11_dat[6]=' ';
        DHT11_dat[7]=' ';
        DHT11_dat[8]=' ';
        DHT11_dat[9]='0'+(TH/10);
        DHT11_dat[10]='0'+(TH%10);
		DHT11_dat[11] =' ';
		DHT11_dat[12] = 'C';
		DHT11_dat[13] = ' ' ;
        DHT11_dat[14]=' ';
	}
	
}
 

                DHT11.h

#ifndef _dht11_h
#define _dht11_h
 
 //#include "dht11.h"
void DHT11_get_Data();

#endif


三、OLED显示屏

        1.模块介绍

        OLED为自发光材料,不需用到背光板(LCD屏幕就需要背光板),同时视角广、画质均匀、反应速度快、较易彩色化、用简单驱动电路即可达到发光、制程简单、可制作成挠曲式面板,符合轻薄短小的原则,应用范围属于中小尺寸面板。

51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示_第6张图片51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示_第7张图片

        大家购买OLED屏幕的时候肯定会看到有点OLED是四个排针,有的是七个排针,有什么区别呢?

        四排针OLED是通信协议使用IIC协议的OLED屏

        七排针OLED是通信协议使用SPI协议的OLED屏

        (我是比较推荐使用四排针OLED)

  • 尺寸:0.96寸
  • 控制芯片:SSD1306
  • 管脚数量:4
  • 引脚间距:2.54mm
  • 分辨率:128*64,可以显示汉字、ASCII、图案,对比度高
  • 可视角度:>160度
  • 无需背光(OLED屏的特点)
  • 供电:3V-5V

        2.软件实现

                OLED.c

#include 

#include "OLED_Font.h"
sbit SDA = P2^1;
sbit SCL = P2^0;
#define high   1;
#define low   0;

void Delayms(unsigned int xms)		//@11.0592MHz
{
	unsigned char i, j;
	while(xms)
	{
		i = 2;
		j = 199;
		do
		{
		  	while (--j);
		}	while (--i);
		
		xms=xms-1;
	}	
}

void Delayus(unsigned int xus)		//@11.0592MHz
{
	unsigned char i;
	while(xus)
	{
	i = 43;
	while (--i);
		xus=xus-1;
	}
}
void IIC_Start()
{
   SCL = high;		
   SDA = high;
   Delayus(1);
   SDA = low;
   Delayus(2);
   SCL = low;

}

/**********************************************
//IIC Stop
**********************************************/
void IIC_Stop()
{
   SDA = low;
   Delayus(1);
   SCL = high;
   Delayus(2);
   SDA = high;
}
/**********************************************
// IIC Write byte
**********************************************/
bit Write_IIC_Byte(unsigned char IIC_Byte)
{
	unsigned char i;
	bit Ack_Bit;                    //应答信号
	for(i=0;i<8;i++)		
	{
		if(IIC_Byte & 0x80)
		{
			SDA=high;
		}					
		else
		{
			SDA=low;
		}			
		
		//Delay_us(1);
		SCL=high;
		Delayus(2);
		SCL=low;
		//Delay_us(1);
		IIC_Byte<<=1;			//loop
	}
	 SDA = high;		                //释放IIC SDA总线为主器件接收从器件产生应答信号	
	Delayus(2);
	SCL = high;                     //第9个时钟周期
	Delayus(2);
	Ack_Bit = SDA;		            //读取应答信号
	SCL = low;
	return Ack_Bit;	
}  
/**********************************************
// IIC Write Command
**********************************************/
void Write_IIC_Command(unsigned char IIC_Command)
{
   IIC_Start();
   Write_IIC_Byte(0x78);            //Slave address,SA0=0
   Write_IIC_Byte(0x00);			//write command
   Write_IIC_Byte(IIC_Command); 
   IIC_Stop();
}
/**********************************************
// IIC Write Data
**********************************************/
void Write_IIC_Data(unsigned char IIC_Data)
{
   IIC_Start();
   Write_IIC_Byte(0x78);			
   Write_IIC_Byte(0x40);			//write data
   Write_IIC_Byte(IIC_Data);
   IIC_Stop(); 
}

void OLED_Init(void)
{
	Delayms(50); //这里的延时很重要
	
	Write_IIC_Command(0xAE); //关显示
	Write_IIC_Command(0x20);	//设置内存寻址模式	
	Write_IIC_Command(0x10);	//00,水平寻址模式;01,垂直寻址模式;10,页面寻址模式(重置);11,无效
	Write_IIC_Command(0xb0);	//为页面寻址模式设置页面开始地址,0-7
	Write_IIC_Command(0xc8);	//设置COM输出扫描方向
	Write_IIC_Command(0x00); //---设置低列地址
	Write_IIC_Command(0x10); //---设置高列地址
	Write_IIC_Command(0x40); //--设置起始行地址
	Write_IIC_Command(0x81); //--set contrast control register
	Write_IIC_Command(0xff); //亮度调节 0x00~0xff
	Write_IIC_Command(0xa1); //--设置段重新映射0到127
	Write_IIC_Command(0xa6); //--设置正常显示
	Write_IIC_Command(0xa8); //--设置复用比(1 ~ 64)
	Write_IIC_Command(0x3F); //
	Write_IIC_Command(0xa4); //0xa4,输出遵循RAM内容;0xa5,Output忽略RAM内容
	Write_IIC_Command(0xd3); //-设置显示抵消
	Write_IIC_Command(0x00); //-not offset
	Write_IIC_Command(0xd5); //--设置显示时钟分频/振荡器频率
	Write_IIC_Command(0xf0); //--设置分率
	Write_IIC_Command(0xd9); //--设置pre-charge时期
	Write_IIC_Command(0x22); //
	Write_IIC_Command(0xda); //--设置com大头针硬件配置
	Write_IIC_Command(0x12);
	Write_IIC_Command(0xdb); //--设置vcomh
	Write_IIC_Command(0x20); //0x20,0.77xVcc
	Write_IIC_Command(0x8d); //--设置DC-DC
	Write_IIC_Command(0x14); //--打开电荷泵
	Write_IIC_Command(0xaf); //--打开oled面板
}

void OLED_SetPos(unsigned char x, unsigned char y) //设置起始点坐标
{ 
	Write_IIC_Command(0xb0+y);
	Write_IIC_Command(((x&0xf0)>>4)|0x10);
	Write_IIC_Command((x&0x0f)|0x01);
}
void OLED_Fill(unsigned char fill_Data)//全屏填充
{
	unsigned char m,n;
	for(m=0;m<8;m++)
	{
		Write_IIC_Command(0xb0+m);		//page0-page1
		Write_IIC_Command(0x00);		//low column start address
		Write_IIC_Command(0x10);		//high column start address
		for(n=0;n<128;n++)
			{
				Write_IIC_Data(fill_Data);
			}
	}
}
void OLED_CLEAR(void)//清屏
{
	OLED_Fill(0x00);
}
//--------------------------------------------------------------
//让OLED休眠 – 休眠模式下,OLED功耗不到10uA
void OLED_OFF(void)
{
	Write_IIC_Command(0X8D);  //设置电荷泵
	Write_IIC_Command(0X10);  //关闭电荷泵 
	Write_IIC_Command(0XAE);  //OLED休眠
}
void OLED_ON(void)
{
	Write_IIC_Command(0X8D);  //设置电荷泵
	Write_IIC_Command(0X14);  //打开电荷泵 
	Write_IIC_Command(0XAF);  //OLED启动
}

void OLED_ShowChar(unsigned char x,unsigned char y,unsigned char chr)
{      	
	unsigned char c=0,i=0;	
	
		c=chr-' ';//得到偏移后的值			
		if(x>128-1){x=0;y=y+2;}
		OLED_SetPos(x,y);	
		for(i=0;i<8;i++)
			Write_IIC_Data(F8X16[c*16+i]);
		OLED_SetPos(x,y+1);
		for(i=0;i<8;i++)
			Write_IIC_Data(F8X16[c*16+i+8]);
}
void OLED_ShowString(unsigned char x,unsigned char y,unsigned char *chr)
{
	unsigned char j=0;
	while (chr[j]!='\0')
	{		OLED_ShowChar(x,y,chr[j]);
			x+=8;
		if(x>120){x=0;y+=2;}
			j++;
	}
}
unsigned long oled_pow(unsigned char m,unsigned char n)
{
	unsigned long result=1;	 
	while(n--)result*=m;    
	return result;
}
void OLED_ShowNum( unsigned char x,unsigned char y,unsigned long num,unsigned char len,unsigned char size2)
{         	
	unsigned char t,temp;
	unsigned char enshow=0;						   
	for(t=0;t

                OLED.h

#ifndef __OLED_H__
#define __OLED_H__
//#include "OLED.H"
//用户调用函数:
void IIC_Start();
void IIC_Stop();
bit Write_IIC_Byte(unsigned char IIC_Byte);
void Write_IIC_Command(unsigned char IIC_Command);
void Write_IIC_Data(unsigned char IIC_Data);
void OLED_Init(void);//OLED初始化
void OLED_SetPos(unsigned char x, unsigned char y); //设置起始点坐标
void OLED_Fill(unsigned char fill_Data);//全屏填充
void OLED_CLEAR(void);//清屏
void OLED_OFF(void);//OLED关
void OLED_ON(void);//OLED开
void OLED_ShowChar(unsigned char x,unsigned char y,unsigned char chr);
void OLED_ShowString(unsigned char x,unsigned char y,unsigned char *chr);
unsigned long oled_pow(unsigned char m,unsigned char n);
void OLED_ShowNum(unsigned char x,unsigned char y,unsigned long num,unsigned char len,unsigned char size2);
void OLED_ShowCHinese(unsigned char x,unsigned char y,unsigned char no);
void OLED_DrawBMP(unsigned char x0,unsigned char y0,unsigned char x1,unsigned char y1,unsigned char BMP[]);

#endif

                OLED_Font.h(OLED的字库)

/************************************************************************************
*  Copyright (c), 2013, HelTec Automatic Technology co.,LTD.
*            All rights reserved.
* 1. 128*64点整OLED模块功能演示程序的字表,仅适用所售产品;
* 2. 字表由打包资料中的“取字软件”计算得出;
* 3. 取字方式 -- 共阴、列行式、逆向输出
*************************************************************************************/

/***************************16*16的点阵字体取模方式:共阴——列行式——逆向输出*********/
//const unsigned char F16x16[] =
unsigned char code F16x16[][32] =
{  	  

{0x10,0x60,0x02,0x8C,0x00,0x00,0xFE,0x92,0x92,0x92,0x92,0x92,0xFE,0x00,0x00,0x00},
{0x04,0x04,0x7E,0x01,0x40,0x7E,0x42,0x42,0x7E,0x42,0x7E,0x42,0x42,0x7E,0x40,0x00},/*"温",0*/
{0x00,0x00,0xFC,0x24,0x24,0x24,0xFC,0x25,0x26,0x24,0xFC,0x24,0x24,0x24,0x04,0x00},
{0x40,0x30,0x8F,0x80,0x84,0x4C,0x55,0x25,0x25,0x25,0x55,0x4C,0x80,0x80,0x80,0x00},/*"度",1*/
{0x10,0x60,0x02,0x8C,0x00,0xFE,0x92,0x92,0x92,0x92,0x92,0x92,0xFE,0x00,0x00,0x00},
{0x04,0x04,0x7E,0x01,0x44,0x48,0x50,0x7F,0x40,0x40,0x7F,0x50,0x48,0x44,0x40,0x00},/*"湿",2*/
{0x00,0x00,0xFC,0x24,0x24,0x24,0xFC,0x25,0x26,0x24,0xFC,0x24,0x24,0x24,0x04,0x00},
{0x40,0x30,0x8F,0x80,0x84,0x4C,0x55,0x25,0x25,0x25,0x55,0x4C,0x80,0x80,0x80,0x00},/*"度",3*/

};


const unsigned char code F32x24[][48]=	{  
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",0*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x1C,0x1C,0x08,0x00,0x00,0x00,0x00,0x00,0x00,/*"!",1*/
0x00,0x00,0x80,0x60,0x30,0x18,0x1C,0x8C,0x60,0x30,0x18,0x1C,0x0C,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*""",2*/
0x00,0x00,0x00,0x00,0x80,0xF0,0x00,0x00,0x00,0x00,0x00,0xC0,0x70,0x00,0x00,0x00,
0x00,0x83,0x83,0x83,0xFF,0x83,0x83,0x83,0x83,0x83,0x83,0xFF,0x83,0x83,0x83,0x00,
0x00,0x01,0x01,0x1F,0x03,0x01,0x01,0x01,0x01,0x01,0x1F,0x01,0x01,0x01,0x01,0x00,/*"#",3*/
0x00,0x00,0x00,0xC0,0xC0,0x20,0x20,0xF8,0xF8,0x10,0x20,0xE0,0xC0,0x00,0x00,0x00,
0x00,0x00,0x00,0x03,0x07,0x0E,0x0C,0xFF,0xFF,0x30,0x61,0xE1,0xC1,0x00,0x00,0x00,
0x00,0x00,0x07,0x0F,0x0B,0x10,0x10,0x7F,0x7F,0x10,0x08,0x0F,0x07,0x00,0x00,0x00,/*"$",4*/
0x80,0xE0,0x20,0x10,0x10,0xE0,0xC0,0x00,0x00,0x00,0x80,0x60,0x00,0x00,0x00,0x00,
0x03,0x0F,0x10,0x10,0x10,0x1F,0xC7,0x30,0x0C,0xE3,0x20,0x10,0x10,0x60,0xC0,0x00,
0x00,0x00,0x00,0x18,0x04,0x03,0x00,0x00,0x00,0x0F,0x08,0x10,0x10,0x0C,0x07,0x00,/*"%",5*/
0x00,0x00,0x00,0xC0,0x20,0x10,0x10,0x10,0xE0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0xC0,0x20,0x1F,0x3E,0x78,0xE8,0x86,0x03,0x01,0x08,0xF0,0x10,0x00,0x00,0x00,
0x03,0x07,0x0C,0x18,0x10,0x10,0x11,0x0B,0x0F,0x0E,0x0F,0x18,0x10,0x10,0x08,0x04,/*"&",6*/
0x00,0x00,0x8C,0x4C,0x7C,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,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"'",7*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0x30,0x10,0x08,0x04,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFE,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x07,0x0C,0x10,0x20,0x40,0x00,0x00,/*"(",8*/
0x00,0x00,0x04,0x08,0x10,0x60,0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x40,0x40,0x20,0x10,0x0C,0x07,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*")",9*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0xC6,0xC6,0x46,0x6C,0x28,0x28,0xFF,0xD7,0x28,0x2C,0x64,0xC6,0xC6,0xC2,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"*",10*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0xFF,0x10,0x10,0x10,0x10,0x10,0x10,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"+",11*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x8C,0x4C,0x7C,0x3C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*",",12*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"-",13*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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,0x1C,0x1C,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*".",14*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0x20,0x18,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0x30,0x18,0x06,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x40,0x30,0x08,0x06,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"/",15*/
0x00,0x00,0x00,0xC0,0xC0,0x60,0x20,0x10,0x10,0x20,0x20,0xC0,0xC0,0x00,0x00,0x00,
0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,
0x00,0x00,0x01,0x07,0x0E,0x08,0x10,0x10,0x10,0x10,0x08,0x0E,0x07,0x01,0x00,0x00,/*"0",16*/
0x00,0x00,0x00,0x00,0x00,0x40,0x40,0xE0,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x10,0x10,0x10,0x1F,0x1F,0x18,0x10,0x10,0x10,0x00,0x00,0x00,/*"1",17*/
0x00,0x00,0x80,0xC0,0x20,0x20,0x10,0x10,0x10,0x10,0x20,0x60,0xC0,0x80,0x00,0x00,
0x00,0x00,0x03,0x03,0x03,0x00,0x80,0x40,0x60,0x30,0x18,0x0E,0x07,0x03,0x00,0x00,
0x00,0x00,0x1C,0x1E,0x1A,0x19,0x18,0x18,0x18,0x18,0x18,0x18,0x1C,0x06,0x00,0x00,/*"2",18*/
0x00,0x00,0x80,0xC0,0xA0,0x10,0x10,0x10,0x10,0x20,0x60,0xE0,0xC0,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x01,0x00,0x00,0x10,0x18,0x18,0x1C,0x67,0xE3,0x80,0x00,0x00,
0x00,0x00,0x06,0x0F,0x0A,0x10,0x10,0x10,0x10,0x10,0x08,0x0C,0x07,0x03,0x00,0x00,/*"3",19*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0xE0,0xF0,0xF0,0x00,0x00,0x00,0x00,
0x00,0x80,0xC0,0xB0,0x98,0x84,0x82,0x81,0x80,0xFF,0xFF,0xFF,0x80,0x80,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x10,0x1F,0x1F,0x1F,0x10,0x10,0x10,0x00,/*"4",20*/
0x00,0x00,0x00,0xE0,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x00,0x00,0x00,
0x00,0x00,0x00,0x1F,0x08,0x08,0x04,0x04,0x04,0x04,0x08,0x18,0xF0,0xE0,0x00,0x00,
0x00,0x00,0x07,0x0F,0x0B,0x10,0x10,0x10,0x10,0x10,0x08,0x0C,0x07,0x03,0x00,0x00,/*"5",21*/
0x00,0x00,0x00,0x80,0xC0,0x20,0x20,0x10,0x10,0x10,0x10,0xE0,0xE0,0x00,0x00,0x00,
0x00,0x00,0xFF,0xFF,0x10,0x08,0x08,0x08,0x04,0x04,0x08,0x18,0xF8,0xF0,0x00,0x00,
0x00,0x00,0x03,0x07,0x0C,0x08,0x10,0x10,0x10,0x10,0x10,0x08,0x07,0x03,0x00,0x00,/*"6",22*/
0x00,0x00,0xC0,0x60,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0xA0,0x60,0x20,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x80,0xE0,0x70,0x0C,0x02,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x1F,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"7",23*/
0x00,0x00,0xC0,0xC0,0x20,0x20,0x10,0x10,0x10,0x10,0x20,0x20,0xC0,0x80,0x00,0x00,
0x00,0x00,0xC3,0x67,0x2C,0x1C,0x18,0x18,0x10,0x30,0x38,0x64,0xC7,0x83,0x00,0x00,
0x00,0x03,0x07,0x0C,0x08,0x10,0x10,0x10,0x10,0x10,0x10,0x08,0x0F,0x07,0x00,0x00,/*"8",24*/
0x00,0x00,0xC0,0xC0,0x20,0x20,0x10,0x10,0x10,0x20,0x20,0xE0,0xC0,0x00,0x00,0x00,
0x00,0x07,0x1F,0x3F,0x20,0x60,0x40,0x40,0x40,0x20,0x30,0x98,0xFF,0xFF,0x00,0x00,
0x00,0x00,0x00,0x0C,0x1C,0x10,0x10,0x10,0x10,0x08,0x0C,0x07,0x03,0x00,0x00,0x00,/*"9",25*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x0E,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x1C,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*":",26*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x78,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*";",27*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x40,0x20,0x30,0x10,0x00,0x00,
0x00,0x00,0x10,0x38,0x2C,0x44,0x82,0x81,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x02,0x04,0x0C,0x08,0x00,0x00,0x00,/*"<",28*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x40,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x40,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"=",29*/
0x00,0x00,0x10,0x30,0x20,0x40,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x81,0x82,0x44,0x2C,0x38,0x10,0x00,0x00,
0x00,0x00,0x00,0x08,0x0C,0x04,0x02,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*">",30*/
0x00,0x00,0xC0,0x60,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0xE0,0xC0,0x00,0x00,
0x00,0x00,0x03,0x03,0x02,0x00,0x00,0xE0,0x30,0x10,0x18,0x0C,0x0F,0x07,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x1D,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"?",31*/
0x00,0x00,0x00,0x80,0x40,0x20,0x20,0x10,0x10,0x90,0x90,0xA0,0xA0,0xC0,0x80,0x00,
0x00,0x7C,0xFF,0x01,0x00,0xF8,0x1E,0x03,0x01,0xC0,0xFC,0x1F,0x00,0x80,0x7F,0x00,
0x00,0x00,0x03,0x07,0x0C,0x08,0x11,0x11,0x11,0x10,0x11,0x09,0x09,0x04,0x02,0x00,/*"@",32*/
0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0x20,0xF0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x80,0x70,0x4E,0x41,0x40,0x41,0x5F,0xFC,0xE0,0x00,0x00,0x00,0x00,
0x10,0x10,0x1C,0x13,0x10,0x00,0x00,0x00,0x00,0x00,0x10,0x1F,0x1F,0x18,0x10,0x00,/*"A",33*/
0x00,0x00,0x20,0xE0,0xE0,0x20,0x20,0x20,0x20,0x20,0x20,0x60,0xC0,0x80,0x00,0x00,
0x00,0x00,0x00,0xFF,0xFF,0x10,0x10,0x10,0x10,0x08,0x18,0x14,0xE7,0xE3,0x80,0x00,
0x10,0x10,0x10,0x1F,0x1F,0x10,0x10,0x10,0x10,0x10,0x10,0x08,0x0F,0x07,0x03,0x00,/*"B",34*/
0x00,0x00,0x00,0xC0,0xC0,0x20,0x20,0x10,0x10,0x10,0x10,0x20,0x20,0xE0,0x80,0x00,
0x00,0xFC,0xFF,0x87,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x00,0x00,0x03,0x07,0x0C,0x08,0x10,0x10,0x10,0x10,0x10,0x08,0x08,0x06,0x01,0x00,/*"C",35*/
0x00,0x00,0x20,0xE0,0xE0,0x20,0x20,0x20,0x20,0x20,0x20,0xC0,0xC0,0x80,0x00,0x00,
0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x7E,0x00,
0x00,0x10,0x10,0x1F,0x1F,0x10,0x10,0x10,0x10,0x08,0x08,0x06,0x07,0x03,0x00,0x00,/*"D",36*/
0x00,0x00,0x20,0xE0,0xE0,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x60,0x80,0x00,
0x00,0x00,0x00,0xFF,0xFF,0x10,0x10,0x10,0x10,0x10,0x18,0x7E,0x00,0x00,0x00,0x00,
0x00,0x10,0x10,0x1F,0x1F,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x18,0x1C,0x02,0x00,/*"E",37*/
0x00,0x00,0x20,0xE0,0xE0,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x60,0xC0,0x00,
0x00,0x00,0x00,0xFF,0xFF,0x10,0x10,0x10,0x10,0x10,0x10,0x7C,0x00,0x00,0x00,0x00,
0x00,0x10,0x10,0x1F,0x1F,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"F",38*/
0x00,0x00,0x80,0xC0,0x60,0x20,0x20,0x10,0x10,0x10,0x20,0x60,0xF0,0x00,0x00,0x00,
0x00,0xFE,0xFF,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0xC0,0xC0,0x41,0x00,0x00,
0x00,0x00,0x03,0x07,0x0C,0x08,0x10,0x10,0x10,0x10,0x10,0x0F,0x0F,0x00,0x00,0x00,/*"G",39*/
0x00,0x00,0xE0,0xE0,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0xE0,0xE0,0x00,0x00,
0x00,0x00,0xFF,0xFF,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0xFF,0xFF,0x00,0x00,
0x10,0x10,0x1F,0x1F,0x10,0x10,0x00,0x00,0x00,0x00,0x10,0x10,0x1F,0x1F,0x10,0x00,/*"H",40*/
0x00,0x00,0x00,0x00,0x20,0x20,0x20,0xE0,0xE0,0x20,0x20,0x20,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x10,0x10,0x10,0x10,0x1F,0x1F,0x10,0x10,0x10,0x10,0x00,0x00,0x00,/*"I",41*/
0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x20,0xE0,0xE0,0x20,0x20,0x20,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x60,0x60,0xE0,0x80,0x80,0x80,0x40,0x40,0x3F,0x1F,0x00,0x00,0x00,0x00,0x00,/*"J",42*/
0x00,0x00,0x20,0xE0,0xE0,0x20,0x00,0x00,0x00,0x00,0xE0,0x60,0x20,0x20,0x00,0x00,
0x00,0x00,0x00,0xFF,0xFF,0x10,0x08,0x1C,0x7A,0xE1,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x10,0x10,0x1F,0x1F,0x10,0x10,0x00,0x00,0x00,0x13,0x1F,0x1C,0x18,0x10,0x00,/*"K",43*/
0x00,0x00,0x20,0xE0,0xE0,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x10,0x10,0x1F,0x1F,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x18,0x1C,0x06,0x00,/*"L",44*/
0x00,0x20,0xE0,0xE0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xE0,0xE0,0x20,0x00,
0x00,0x00,0xFF,0x01,0x1F,0xFC,0xC0,0x00,0xC0,0x38,0x07,0x00,0xFF,0xFF,0x00,0x00,
0x10,0x10,0x1F,0x10,0x00,0x00,0x0F,0x1E,0x01,0x00,0x10,0x10,0x1F,0x1F,0x10,0x10,/*"M",45*/
0x00,0x20,0xE0,0x60,0xE0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0xE0,0x20,0x00,
0x00,0x00,0xFF,0x00,0x00,0x03,0x07,0x1E,0x38,0xF0,0xC0,0x80,0x00,0xFF,0x00,0x00,
0x10,0x10,0x1F,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x01,0x07,0x0E,0x1F,0x00,0x00,/*"N",46*/
0x00,0x00,0x80,0xC0,0x60,0x20,0x10,0x10,0x10,0x10,0x20,0x60,0xC0,0x80,0x00,0x00,
0x00,0x7C,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xFF,0xFE,0x00,
0x00,0x00,0x03,0x07,0x0C,0x08,0x10,0x10,0x10,0x10,0x08,0x08,0x07,0x03,0x00,0x00,/*"O",47*/
0x00,0x00,0x20,0xE0,0xE0,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0xE0,0xC0,0x80,0x00,
0x00,0x00,0x00,0xFF,0xFF,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x0C,0x0F,0x03,0x00,
0x00,0x10,0x10,0x1F,0x1F,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"P",48*/
0x00,0x00,0x80,0xC0,0x60,0x20,0x10,0x10,0x10,0x10,0x20,0x60,0xC0,0x80,0x00,0x00,
0x00,0xFE,0xFF,0x83,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x83,0xFF,0xFE,0x00,
0x00,0x00,0x03,0x07,0x0E,0x09,0x11,0x11,0x13,0x1E,0x3C,0x7C,0x67,0x23,0x00,0x00,/*"Q",49*/
0x00,0x00,0x20,0xE0,0xE0,0x20,0x20,0x20,0x20,0x20,0x20,0x60,0xE0,0xC0,0x00,0x00,
0x00,0x00,0x00,0xFF,0xFF,0x10,0x10,0x10,0x30,0xF0,0xC8,0x0C,0x07,0x03,0x00,0x00,
0x00,0x10,0x10,0x1F,0x1F,0x10,0x10,0x00,0x00,0x00,0x03,0x0F,0x1C,0x10,0x10,0x00,/*"R",50*/
0x00,0x00,0xC0,0x60,0x20,0x10,0x10,0x10,0x10,0x10,0x20,0x60,0xE0,0x00,0x00,0x00,
0x00,0x00,0x07,0x06,0x0C,0x08,0x18,0x18,0x10,0x30,0x30,0x60,0xE0,0x80,0x00,0x00,
0x00,0x01,0x1E,0x0C,0x08,0x10,0x10,0x10,0x10,0x10,0x10,0x08,0x0F,0x03,0x00,0x00,/*"S",51*/
0x00,0xC0,0x60,0x20,0x20,0x20,0x20,0xE0,0xE0,0x20,0x20,0x20,0x20,0x60,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x1F,0x1F,0x10,0x10,0x00,0x00,0x00,0x00,0x00,/*"T",52*/
0x00,0x20,0xE0,0xE0,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0x20,0x00,0x00,
0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,
0x00,0x00,0x03,0x0F,0x0C,0x10,0x10,0x10,0x10,0x10,0x08,0x08,0x07,0x00,0x00,0x00,/*"U",53*/
0x00,0x20,0x20,0xE0,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0x20,0x00,0x00,
0x00,0x00,0x00,0x03,0x1F,0xFE,0xF0,0x00,0x00,0xE0,0x18,0x07,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x1F,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"V",54*/
0x00,0x20,0xE0,0xA0,0x00,0x00,0x00,0xE0,0xE0,0x00,0x00,0x00,0x00,0xE0,0x20,0x00,
0x00,0x00,0x07,0xFF,0xF0,0x00,0xF0,0x0E,0x1F,0xFE,0xC0,0xC0,0x3C,0x03,0x00,0x00,
0x00,0x00,0x00,0x00,0x1F,0x0F,0x00,0x00,0x00,0x03,0x1F,0x03,0x00,0x00,0x00,0x00,/*"W",55*/
0x00,0x00,0x20,0x60,0xE0,0x80,0x00,0x00,0x00,0x00,0x00,0xE0,0x20,0x20,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x03,0xCF,0x3C,0x78,0xE6,0x81,0x00,0x00,0x00,0x00,0x00,
0x00,0x10,0x10,0x18,0x16,0x11,0x00,0x00,0x00,0x01,0x13,0x1F,0x1C,0x18,0x10,0x00,/*"X",56*/
0x00,0x00,0x20,0xE0,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0xA0,0x60,0x20,0x00,0x00,
0x00,0x00,0x00,0x00,0x03,0x0F,0x3C,0xF0,0xE0,0x18,0x06,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x1F,0x1F,0x10,0x10,0x00,0x00,0x00,0x00,0x00,/*"Y",57*/
0x00,0x00,0xC0,0x60,0x20,0x20,0x20,0x20,0x20,0x20,0xA0,0xE0,0xE0,0x20,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xC0,0xE0,0x70,0x1C,0x0E,0x03,0x01,0x00,0x00,0x00,0x00,
0x00,0x10,0x18,0x1E,0x17,0x11,0x10,0x10,0x10,0x10,0x10,0x18,0x18,0x0E,0x00,0x00,/*"Z",58*/
0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0xFC,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x00,/*"[",59*/
0x00,0x00,0x00,0x30,0xE0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x07,0x1C,0x70,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x07,0x1C,0x70,0xC0,0x00,0x00,/*"\",60*/
0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0xFC,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x7F,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,/*"]",61*/
0x00,0x00,0x00,0x00,0x08,0x08,0x04,0x04,0x04,0x04,0x08,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"^",62*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,/*"_",63*/
0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"`",64*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x18,0x98,0x84,0x84,0x44,0x44,0x44,0x44,0x44,0xF8,0xF0,0x00,0x00,0x00,
0x00,0x06,0x0F,0x0F,0x10,0x10,0x10,0x10,0x10,0x08,0x08,0x0F,0x1F,0x10,0x08,0x00,/*"a",65*/
0x00,0x00,0x20,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xFF,0x30,0x08,0x04,0x04,0x04,0x04,0x04,0x0C,0xF8,0xF0,0x00,0x00,
0x00,0x00,0x00,0x0F,0x0C,0x08,0x10,0x10,0x10,0x10,0x10,0x08,0x07,0x03,0x00,0x00,/*"b",66*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xE0,0xF0,0x18,0x0C,0x04,0x04,0x04,0x04,0x04,0x18,0x18,0x00,0x00,0x00,
0x00,0x00,0x03,0x07,0x0C,0x08,0x10,0x10,0x10,0x10,0x10,0x08,0x0C,0x02,0x00,0x00,/*"c",67*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0xE0,0xF0,0x00,0x00,0x00,
0x00,0x00,0xE0,0xF0,0x18,0x0C,0x04,0x04,0x04,0x04,0x08,0xFF,0xFF,0x00,0x00,0x00,
0x00,0x00,0x03,0x07,0x0C,0x08,0x10,0x10,0x10,0x08,0x08,0x1F,0x0F,0x08,0x08,0x00,/*"d",68*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xE0,0xF0,0x98,0x84,0x84,0x84,0x84,0x84,0x84,0x88,0x78,0x70,0x00,0x00,
0x00,0x00,0x03,0x07,0x0C,0x08,0x10,0x10,0x10,0x10,0x10,0x08,0x04,0x00,0x00,0x00,/*"e",69*/
0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0x60,0x20,0x20,0x20,0x20,0x20,0x60,0x60,0x00,
0x00,0x00,0x04,0x04,0x04,0x04,0xFF,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,
0x00,0x00,0x10,0x10,0x10,0x10,0x1F,0x10,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x00,/*"f",70*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x70,0xD8,0x04,0x04,0x04,0x04,0x04,0x88,0xF8,0x24,0x0C,0x0C,0x00,
0x00,0x00,0x70,0x56,0x8D,0x85,0x8D,0x8D,0x8D,0x89,0x88,0x88,0x78,0x70,0x00,0x00,/*"g",71*/
0x00,0x00,0x10,0xF0,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xFF,0xFF,0x08,0x04,0x04,0x04,0x04,0x04,0xFC,0xF8,0x00,0x00,0x00,
0x00,0x10,0x10,0x1F,0x1F,0x10,0x00,0x00,0x00,0x00,0x10,0x1F,0x1F,0x10,0x10,0x00,/*"h",72*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x70,0x20,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x04,0x04,0x04,0x04,0xFC,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x10,0x10,0x10,0x10,0x1F,0x1F,0x10,0x10,0x10,0x10,0x00,0x00,0x00,/*"i",73*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x70,0x20,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0xFC,0x00,0x00,0x00,0x00,
0x00,0x00,0x40,0xC0,0xC0,0x80,0x80,0x80,0x80,0x80,0x60,0x3F,0x00,0x00,0x00,0x00,/*"j",74*/
0x00,0x00,0x10,0xF0,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xFF,0xFF,0x80,0x40,0x60,0xE0,0x94,0x0C,0x04,0x04,0x04,0x00,0x00,
0x00,0x10,0x10,0x1F,0x1F,0x10,0x00,0x00,0x00,0x03,0x17,0x1C,0x18,0x10,0x10,0x00,/*"k",75*/
0x00,0x00,0x00,0x00,0x10,0x10,0x10,0xF0,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x10,0x10,0x10,0x10,0x1F,0x1F,0x10,0x10,0x10,0x10,0x00,0x00,0x00,/*"l",76*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x04,0x04,0xFC,0x08,0x04,0x04,0x04,0xFC,0xF8,0x08,0x04,0x04,0x04,0xFC,0xF8,0x00,
0x10,0x10,0x1F,0x10,0x10,0x00,0x10,0x1F,0x1F,0x10,0x00,0x00,0x10,0x1F,0x1F,0x10,/*"m",77*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x04,0x04,0xFC,0xFC,0x08,0x04,0x04,0x04,0x04,0x04,0xFC,0xF8,0x00,0x00,0x00,
0x00,0x10,0x10,0x1F,0x1F,0x10,0x00,0x00,0x00,0x00,0x10,0x1F,0x1F,0x10,0x10,0x00,/*"n",78*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xE0,0xF8,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0xF8,0xF0,0x00,0x00,
0x00,0x00,0x03,0x07,0x08,0x10,0x10,0x10,0x10,0x10,0x10,0x08,0x07,0x03,0x00,0x00,/*"o",79*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x04,0x04,0xFC,0xFC,0x08,0x04,0x04,0x04,0x04,0x04,0x08,0xF8,0xF0,0x00,0x00,
0x00,0x00,0x80,0xFF,0xFF,0x88,0x10,0x10,0x10,0x10,0x08,0x08,0x0F,0x07,0x00,0x00,/*"p",80*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xF0,0xF8,0x08,0x04,0x04,0x04,0x04,0x04,0x08,0xF8,0xFC,0x00,0x00,0x00,
0x00,0x00,0x07,0x0F,0x08,0x10,0x10,0x10,0x10,0x10,0x88,0xFF,0xFF,0x80,0x00,0x00,/*"q",81*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x04,0x04,0x04,0x04,0xFC,0x20,0x10,0x08,0x04,0x04,0x04,0x0C,0x0C,0x08,0x00,
0x00,0x10,0x10,0x10,0x10,0x1F,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,/*"r",82*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x30,0x78,0x44,0x44,0xC4,0x84,0x84,0x84,0x8C,0x1C,0x00,0x00,0x00,
0x00,0x00,0x00,0x1C,0x08,0x10,0x10,0x10,0x10,0x10,0x11,0x09,0x0F,0x06,0x00,0x00,/*"s",83*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x04,0x04,0x04,0x06,0xFF,0xFF,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x0F,0x10,0x10,0x10,0x08,0x08,0x04,0x00,0x00,/*"t",84*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x04,0x04,0xFC,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0xFC,0xFC,0x00,0x00,0x00,
0x00,0x00,0x00,0x0F,0x0C,0x18,0x10,0x10,0x10,0x08,0x08,0x1F,0x0F,0x08,0x08,0x00,/*"u",85*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x04,0x04,0x0C,0x7C,0xE4,0x84,0x00,0x00,0x00,0xC4,0x34,0x0C,0x04,0x04,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x07,0x1E,0x0C,0x03,0x00,0x00,0x00,0x00,0x00,0x00,/*"v",86*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x04,0x04,0x3C,0xF4,0x84,0x00,0x84,0x7C,0xFC,0xC4,0x00,0x00,0xE4,0x1C,0x04,0x04,
0x00,0x00,0x00,0x01,0x0F,0x1C,0x03,0x00,0x00,0x07,0x1E,0x07,0x00,0x00,0x00,0x00,/*"w",87*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x04,0x04,0x0C,0x1C,0x34,0xE0,0xC0,0x24,0x14,0x0C,0x04,0x04,0x00,0x00,
0x00,0x10,0x10,0x18,0x1C,0x16,0x01,0x00,0x01,0x13,0x16,0x1C,0x18,0x10,0x10,0x00,/*"x",88*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x04,0x04,0x0C,0x3C,0xF4,0xC4,0x00,0x00,0x00,0xE4,0x3C,0x0C,0x04,0x04,0x00,
0x00,0x00,0x80,0xC0,0x80,0x80,0x43,0x3F,0x0C,0x03,0x00,0x00,0x00,0x00,0x00,0x00,/*"y",89*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x10,0x0C,0x04,0x04,0x84,0xC4,0x64,0x34,0x1C,0x0C,0x04,0x00,0x00,0x00,
0x00,0x00,0x10,0x18,0x1C,0x17,0x13,0x10,0x10,0x10,0x10,0x18,0x1C,0x02,0x00,0x00,/*"z",90*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xF8,0x04,0x04,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x18,0xEF,0xC7,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x3F,0x40,0x40,0x40,0x00,0x00,/*"{",91*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"|",92*/
0x00,0x00,0x00,0x04,0x04,0xF8,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xC7,0xEF,0x18,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x40,0x40,0x40,0x3F,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"}",93*/
0x00,0x08,0x04,0x02,0x02,0x02,0x02,0x04,0x0C,0x18,0x10,0x10,0x10,0x08,0x04,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"~",94*/
};
/************************************6*8的点阵************************************/
const unsigned char code F6x8[][6] =
{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,// sp
0x00, 0x00, 0x00, 0x2f, 0x00, 0x00,// !
0x00, 0x00, 0x07, 0x00, 0x07, 0x00,// "
0x00, 0x14, 0x7f, 0x14, 0x7f, 0x14,// #
0x00, 0x24, 0x2a, 0x7f, 0x2a, 0x12,// $
0x00, 0x62, 0x64, 0x08, 0x13, 0x23,// %
0x00, 0x36, 0x49, 0x55, 0x22, 0x50,// &
0x00, 0x00, 0x05, 0x03, 0x00, 0x00,// '
0x00, 0x00, 0x1c, 0x22, 0x41, 0x00,// (
0x00, 0x00, 0x41, 0x22, 0x1c, 0x00,// )
0x00, 0x14, 0x08, 0x3E, 0x08, 0x14,// *
0x00, 0x08, 0x08, 0x3E, 0x08, 0x08,// +
0x00, 0x00, 0x00, 0xA0, 0x60, 0x00,// ,
0x00, 0x08, 0x08, 0x08, 0x08, 0x08,// -
0x00, 0x00, 0x60, 0x60, 0x00, 0x00,// .
0x00, 0x20, 0x10, 0x08, 0x04, 0x02,// /
0x00, 0x3E, 0x51, 0x49, 0x45, 0x3E,// 0
0x00, 0x00, 0x42, 0x7F, 0x40, 0x00,// 1
0x00, 0x42, 0x61, 0x51, 0x49, 0x46,// 2
0x00, 0x21, 0x41, 0x45, 0x4B, 0x31,// 3
0x00, 0x18, 0x14, 0x12, 0x7F, 0x10,// 4
0x00, 0x27, 0x45, 0x45, 0x45, 0x39,// 5
0x00, 0x3C, 0x4A, 0x49, 0x49, 0x30,// 6
0x00, 0x01, 0x71, 0x09, 0x05, 0x03,// 7
0x00, 0x36, 0x49, 0x49, 0x49, 0x36,// 8
0x00, 0x06, 0x49, 0x49, 0x29, 0x1E,// 9
0x00, 0x00, 0x36, 0x36, 0x00, 0x00,// :
0x00, 0x00, 0x56, 0x36, 0x00, 0x00,// ;
0x00, 0x08, 0x14, 0x22, 0x41, 0x00,// <
0x00, 0x14, 0x14, 0x14, 0x14, 0x14,// =
0x00, 0x00, 0x41, 0x22, 0x14, 0x08,// >
0x00, 0x02, 0x01, 0x51, 0x09, 0x06,// ?
0x00, 0x32, 0x49, 0x59, 0x51, 0x3E,// @
0x00, 0x7C, 0x12, 0x11, 0x12, 0x7C,// A
0x00, 0x7F, 0x49, 0x49, 0x49, 0x36,// B
0x00, 0x3E, 0x41, 0x41, 0x41, 0x22,// C
0x00, 0x7F, 0x41, 0x41, 0x22, 0x1C,// D
0x00, 0x7F, 0x49, 0x49, 0x49, 0x41,// E
0x00, 0x7F, 0x09, 0x09, 0x09, 0x01,// F
0x00, 0x3E, 0x41, 0x49, 0x49, 0x7A,// G
0x00, 0x7F, 0x08, 0x08, 0x08, 0x7F,// H
0x00, 0x00, 0x41, 0x7F, 0x41, 0x00,// I
0x00, 0x20, 0x40, 0x41, 0x3F, 0x01,// J
0x00, 0x7F, 0x08, 0x14, 0x22, 0x41,// K
0x00, 0x7F, 0x40, 0x40, 0x40, 0x40,// L
0x00, 0x7F, 0x02, 0x0C, 0x02, 0x7F,// M
0x00, 0x7F, 0x04, 0x08, 0x10, 0x7F,// N
0x00, 0x3E, 0x41, 0x41, 0x41, 0x3E,// O
0x00, 0x7F, 0x09, 0x09, 0x09, 0x06,// P
0x00, 0x3E, 0x41, 0x51, 0x21, 0x5E,// Q
0x00, 0x7F, 0x09, 0x19, 0x29, 0x46,// R
0x00, 0x46, 0x49, 0x49, 0x49, 0x31,// S
0x00, 0x01, 0x01, 0x7F, 0x01, 0x01,// T
0x00, 0x3F, 0x40, 0x40, 0x40, 0x3F,// U
0x00, 0x1F, 0x20, 0x40, 0x20, 0x1F,// V
0x00, 0x3F, 0x40, 0x38, 0x40, 0x3F,// W
0x00, 0x63, 0x14, 0x08, 0x14, 0x63,// X
0x00, 0x07, 0x08, 0x70, 0x08, 0x07,// Y
0x00, 0x61, 0x51, 0x49, 0x45, 0x43,// Z
0x00, 0x00, 0x7F, 0x41, 0x41, 0x00,// [
0x00, 0x55, 0x2A, 0x55, 0x2A, 0x55,// 55
0x00, 0x00, 0x41, 0x41, 0x7F, 0x00,// ]
0x00, 0x04, 0x02, 0x01, 0x02, 0x04,// ^
0x00, 0x40, 0x40, 0x40, 0x40, 0x40,// _
0x00, 0x00, 0x01, 0x02, 0x04, 0x00,// '
0x00, 0x20, 0x54, 0x54, 0x54, 0x78,// a
0x00, 0x7F, 0x48, 0x44, 0x44, 0x38,// b
0x00, 0x38, 0x44, 0x44, 0x44, 0x20,// c
0x00, 0x38, 0x44, 0x44, 0x48, 0x7F,// d
0x00, 0x38, 0x54, 0x54, 0x54, 0x18,// e
0x00, 0x08, 0x7E, 0x09, 0x01, 0x02,// f
0x00, 0x18, 0xA4, 0xA4, 0xA4, 0x7C,// g
0x00, 0x7F, 0x08, 0x04, 0x04, 0x78,// h
0x00, 0x00, 0x44, 0x7D, 0x40, 0x00,// i
0x00, 0x40, 0x80, 0x84, 0x7D, 0x00,// j
0x00, 0x7F, 0x10, 0x28, 0x44, 0x00,// k
0x00, 0x00, 0x41, 0x7F, 0x40, 0x00,// l
0x00, 0x7C, 0x04, 0x18, 0x04, 0x78,// m
0x00, 0x7C, 0x08, 0x04, 0x04, 0x78,// n
0x00, 0x38, 0x44, 0x44, 0x44, 0x38,// o
0x00, 0xFC, 0x24, 0x24, 0x24, 0x18,// p
0x00, 0x18, 0x24, 0x24, 0x18, 0xFC,// q
0x00, 0x7C, 0x08, 0x04, 0x04, 0x08,// r
0x00, 0x48, 0x54, 0x54, 0x54, 0x20,// s
0x00, 0x04, 0x3F, 0x44, 0x40, 0x20,// t
0x00, 0x3C, 0x40, 0x40, 0x20, 0x7C,// u
0x00, 0x1C, 0x20, 0x40, 0x20, 0x1C,// v
0x00, 0x3C, 0x40, 0x30, 0x40, 0x3C,// w
0x00, 0x44, 0x28, 0x10, 0x28, 0x44,// x
0x00, 0x1C, 0xA0, 0xA0, 0xA0, 0x7C,// y
0x00, 0x44, 0x64, 0x54, 0x4C, 0x44,// z
0x14, 0x14, 0x14, 0x14, 0x14, 0x14,// horiz lines
};


/****************************************8*16的点阵************************************/
const unsigned char code F8X16[]=
{
  0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,// 0
  0x00,0x20,0x20,0x30,0xF8,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x0F,0x00,0x00,//! 1
  0x00,0x10,0x0C,0x06,0x10,0x0C,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//" 2
  0x40,0xC0,0x78,0x40,0xC0,0x78,0x40,0x00,0x04,0x3F,0x04,0x04,0x3F,0x04,0x04,0x00,//# 3
  0x00,0x70,0x88,0xFC,0x08,0x30,0x00,0x00,0x00,0x18,0x20,0xFF,0x21,0x1E,0x00,0x00,//$ 4
  0xF0,0x08,0xF0,0x00,0xE0,0x18,0x00,0x00,0x00,0x21,0x1C,0x03,0x1E,0x21,0x1E,0x00,//% 5
  0x00,0xF0,0x08,0x88,0x70,0x00,0x00,0x00,0x1E,0x21,0x23,0x24,0x19,0x27,0x21,0x10,//& 6
  0x10,0x16,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//' 7
  0x00,0x00,0x00,0xE0,0x18,0x04,0x02,0x00,0x00,0x00,0x00,0x07,0x18,0x20,0x40,0x00,//( 8
  0x00,0x02,0x04,0x18,0xE0,0x00,0x00,0x00,0x00,0x40,0x20,0x18,0x07,0x00,0x00,0x00,//) 9
  0x40,0x40,0x80,0xF0,0x80,0x40,0x40,0x00,0x02,0x02,0x01,0x0F,0x01,0x02,0x02,0x00,//* 10
  0x00,0x00,0x00,0xF0,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x1F,0x01,0x01,0x01,0x00,//+ 11
  0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xB0,0x70,0x00,0x00,0x00,0x00,0x00,//, 12
  0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,//- 13
  0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x00,0x00,0x00,0x00,0x00,//. 14
  0x00,0x00,0x00,0x00,0x80,0x60,0x18,0x04,0x00,0x60,0x18,0x06,0x01,0x00,0x00,0x00,/// 15
  0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//0 16
  0x00,0x10,0x10,0xF8,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00,//1 17
  0x00,0x70,0x08,0x08,0x08,0x88,0x70,0x00,0x00,0x30,0x28,0x24,0x22,0x21,0x30,0x00,//2 18
  0x00,0x30,0x08,0x88,0x88,0x48,0x30,0x00,0x00,0x18,0x20,0x20,0x20,0x11,0x0E,0x00,//3 19
  0x00,0x00,0xC0,0x20,0x10,0xF8,0x00,0x00,0x00,0x07,0x04,0x24,0x24,0x3F,0x24,0x00,//4 20
  0x00,0xF8,0x08,0x88,0x88,0x08,0x08,0x00,0x00,0x19,0x21,0x20,0x20,0x11,0x0E,0x00,//5 21
  0x00,0xE0,0x10,0x88,0x88,0x18,0x00,0x00,0x00,0x0F,0x11,0x20,0x20,0x11,0x0E,0x00,//6 22
  0x00,0x38,0x08,0x08,0xC8,0x38,0x08,0x00,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x00,//7 23
  0x00,0x70,0x88,0x08,0x08,0x88,0x70,0x00,0x00,0x1C,0x22,0x21,0x21,0x22,0x1C,0x00,//8 24
  0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x00,0x31,0x22,0x22,0x11,0x0F,0x00,//9 25
  0x00,0x00,0x00,0xC0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x00,0x00,0x00,//: 26
  0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x60,0x00,0x00,0x00,0x00,//; 27
  0x00,0x00,0x80,0x40,0x20,0x10,0x08,0x00,0x00,0x01,0x02,0x04,0x08,0x10,0x20,0x00,//< 28
  0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,//= 29
  0x00,0x08,0x10,0x20,0x40,0x80,0x00,0x00,0x00,0x20,0x10,0x08,0x04,0x02,0x01,0x00,//> 30
  0x00,0x70,0x48,0x08,0x08,0x08,0xF0,0x00,0x00,0x00,0x00,0x30,0x36,0x01,0x00,0x00,//? 31
  0xC0,0x30,0xC8,0x28,0xE8,0x10,0xE0,0x00,0x07,0x18,0x27,0x24,0x23,0x14,0x0B,0x00,//@ 32
  0x00,0x00,0xC0,0x38,0xE0,0x00,0x00,0x00,0x20,0x3C,0x23,0x02,0x02,0x27,0x38,0x20,//A 33
  0x08,0xF8,0x88,0x88,0x88,0x70,0x00,0x00,0x20,0x3F,0x20,0x20,0x20,0x11,0x0E,0x00,//B 34
  0xC0,0x30,0x08,0x08,0x08,0x08,0x38,0x00,0x07,0x18,0x20,0x20,0x20,0x10,0x08,0x00,//C 35
  0x08,0xF8,0x08,0x08,0x08,0x10,0xE0,0x00,0x20,0x3F,0x20,0x20,0x20,0x10,0x0F,0x00,//D 36
  0x08,0xF8,0x88,0x88,0xE8,0x08,0x10,0x00,0x20,0x3F,0x20,0x20,0x23,0x20,0x18,0x00,//E 37
  0x08,0xF8,0x88,0x88,0xE8,0x08,0x10,0x00,0x20,0x3F,0x20,0x00,0x03,0x00,0x00,0x00,//F 38
  0xC0,0x30,0x08,0x08,0x08,0x38,0x00,0x00,0x07,0x18,0x20,0x20,0x22,0x1E,0x02,0x00,//G 39
  0x08,0xF8,0x08,0x00,0x00,0x08,0xF8,0x08,0x20,0x3F,0x21,0x01,0x01,0x21,0x3F,0x20,//H 40
  0x00,0x08,0x08,0xF8,0x08,0x08,0x00,0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00,//I 41
  0x00,0x00,0x08,0x08,0xF8,0x08,0x08,0x00,0xC0,0x80,0x80,0x80,0x7F,0x00,0x00,0x00,//J 42
  0x08,0xF8,0x88,0xC0,0x28,0x18,0x08,0x00,0x20,0x3F,0x20,0x01,0x26,0x38,0x20,0x00,//K 43
  0x08,0xF8,0x08,0x00,0x00,0x00,0x00,0x00,0x20,0x3F,0x20,0x20,0x20,0x20,0x30,0x00,//L 44
  0x08,0xF8,0xF8,0x00,0xF8,0xF8,0x08,0x00,0x20,0x3F,0x00,0x3F,0x00,0x3F,0x20,0x00,//M 45
  0x08,0xF8,0x30,0xC0,0x00,0x08,0xF8,0x08,0x20,0x3F,0x20,0x00,0x07,0x18,0x3F,0x00,//N 46
  0xE0,0x10,0x08,0x08,0x08,0x10,0xE0,0x00,0x0F,0x10,0x20,0x20,0x20,0x10,0x0F,0x00,//O 47
  0x08,0xF8,0x08,0x08,0x08,0x08,0xF0,0x00,0x20,0x3F,0x21,0x01,0x01,0x01,0x00,0x00,//P 48
  0x00,0x20,0x20,0x30,0xF8,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x0F,0x00,0x00,//Q 49
  0x08,0xF8,0x88,0x88,0x88,0x88,0x70,0x00,0x20,0x3F,0x20,0x00,0x03,0x0C,0x30,0x20,//R 50
  0x00,0x70,0x88,0x08,0x08,0x08,0x38,0x00,0x00,0x38,0x20,0x21,0x21,0x22,0x1C,0x00,//S 51
  0x18,0x08,0x08,0xF8,0x08,0x08,0x18,0x00,0x00,0x00,0x20,0x3F,0x20,0x00,0x00,0x00,//T 52
  0x08,0xF8,0x08,0x00,0x00,0x08,0xF8,0x08,0x00,0x1F,0x20,0x20,0x20,0x20,0x1F,0x00,//U 53
  0x08,0x78,0x88,0x00,0x00,0xC8,0x38,0x08,0x00,0x00,0x07,0x38,0x0E,0x01,0x00,0x00,//V 54
  0xF8,0x08,0x00,0xF8,0x00,0x08,0xF8,0x00,0x03,0x3C,0x07,0x00,0x07,0x3C,0x03,0x00,//W 55
  0x08,0x18,0x68,0x80,0x80,0x68,0x18,0x08,0x20,0x30,0x2C,0x03,0x03,0x2C,0x30,0x20,//X 56
  0x08,0x38,0xC8,0x00,0xC8,0x38,0x08,0x00,0x00,0x00,0x20,0x3F,0x20,0x00,0x00,0x00,//Y 57
  0x10,0x08,0x08,0x08,0xC8,0x38,0x08,0x00,0x20,0x38,0x26,0x21,0x20,0x20,0x18,0x00,//Z 58
  0x00,0x00,0x00,0xFE,0x02,0x02,0x02,0x00,0x00,0x00,0x00,0x7F,0x40,0x40,0x40,0x00,//[ 59
  0x00,0x0C,0x30,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x06,0x38,0xC0,0x00,//\ 60
  0x00,0x02,0x02,0x02,0xFE,0x00,0x00,0x00,0x00,0x40,0x40,0x40,0x7F,0x00,0x00,0x00,//] 61
  0x00,0x00,0x04,0x02,0x02,0x02,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//^ 62
  0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,//_ 63
  0x00,0x02,0x02,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//` 64
  0x00,0x00,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x19,0x24,0x22,0x22,0x22,0x3F,0x20,//a 65
  0x08,0xF8,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x3F,0x11,0x20,0x20,0x11,0x0E,0x00,//b 66
  0x00,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x00,0x0E,0x11,0x20,0x20,0x20,0x11,0x00,//c 67
  0x00,0x00,0x00,0x80,0x80,0x88,0xF8,0x00,0x00,0x0E,0x11,0x20,0x20,0x10,0x3F,0x20,//d 68
  0x00,0x00,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x1F,0x22,0x22,0x22,0x22,0x13,0x00,//e 69
  0x00,0x80,0x80,0xF0,0x88,0x88,0x88,0x18,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00,//f 70
  0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x6B,0x94,0x94,0x94,0x93,0x60,0x00,//g 71
  0x08,0xF8,0x00,0x80,0x80,0x80,0x00,0x00,0x20,0x3F,0x21,0x00,0x00,0x20,0x3F,0x20,//h 72
  0x00,0x80,0x98,0x98,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00,//i 73
  0x00,0x00,0x00,0x80,0x98,0x98,0x00,0x00,0x00,0xC0,0x80,0x80,0x80,0x7F,0x00,0x00,//j 74
  0x08,0xF8,0x00,0x00,0x80,0x80,0x80,0x00,0x20,0x3F,0x24,0x02,0x2D,0x30,0x20,0x00,//k 75
  0x00,0x08,0x08,0xF8,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00,//l 76
  0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x20,0x3F,0x20,0x00,0x3F,0x20,0x00,0x3F,//m 77
  0x80,0x80,0x00,0x80,0x80,0x80,0x00,0x00,0x20,0x3F,0x21,0x00,0x00,0x20,0x3F,0x20,//n 78
  0x00,0x00,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x1F,0x20,0x20,0x20,0x20,0x1F,0x00,//o 79
  0x80,0x80,0x00,0x80,0x80,0x00,0x00,0x00,0x80,0xFF,0xA1,0x20,0x20,0x11,0x0E,0x00,//p 80
  0x00,0x00,0x00,0x80,0x80,0x80,0x80,0x00,0x00,0x0E,0x11,0x20,0x20,0xA0,0xFF,0x80,//q 81
  0x80,0x80,0x80,0x00,0x80,0x80,0x80,0x00,0x20,0x20,0x3F,0x21,0x20,0x00,0x01,0x00,//r 82
  0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x33,0x24,0x24,0x24,0x24,0x19,0x00,//s 83
  0x00,0x80,0x80,0xE0,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x1F,0x20,0x20,0x00,0x00,//t 84
  0x80,0x80,0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x1F,0x20,0x20,0x20,0x10,0x3F,0x20,//u 85
  0x80,0x80,0x80,0x00,0x00,0x80,0x80,0x80,0x00,0x01,0x0E,0x30,0x08,0x06,0x01,0x00,//v 86
  0x80,0x80,0x00,0x80,0x00,0x80,0x80,0x80,0x0F,0x30,0x0C,0x03,0x0C,0x30,0x0F,0x00,//w 87
  0x00,0x80,0x80,0x00,0x80,0x80,0x80,0x00,0x00,0x20,0x31,0x2E,0x0E,0x31,0x20,0x00,//x 88
  0x80,0x80,0x80,0x00,0x00,0x80,0x80,0x80,0x80,0x81,0x8E,0x70,0x18,0x06,0x01,0x00,//y 89
  0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x21,0x30,0x2C,0x22,0x21,0x30,0x00,//z 90
  0x00,0x00,0x00,0x00,0x80,0x7C,0x02,0x02,0x00,0x00,0x00,0x00,0x00,0x3F,0x40,0x40,//{ 91
  0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,//| 92
  0x00,0x02,0x02,0x7C,0x80,0x00,0x00,0x00,0x00,0x40,0x40,0x3F,0x00,0x00,0x00,0x00,//} 93
  0x00,0x06,0x01,0x01,0x02,0x02,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//~ 94
};

        3.OLED注意事项

                字库中汉字的生成

        要使用PCtoLCD2002这个软件来生成汉字(如图)

51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示_第8张图片51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示_第9张图片

                 烧录时单片机内存问题

        OLED的字库占用STC12内存是比较大的,可能在烧录时会出现这个情况,建议把这里修改修改(如图)

51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示_第10张图片

四、整体工程

         这里附上主函数的代码

        main.c

#include 
#include "Delay.H"
#include "Timer.H"
#include "Uart.H"
#include "dht11.h"
#include "OLED.h"
extern char DHT11_dat[16];   //用于显示的接收数据数组 
extern	unsigned int R_H,R_L,T_H,T_L;
extern	unsigned char RH,RL,TH,TL,revise;

void main()
{
	Delaynms(1000);
	OLED_Init();//OLED初始化
	OLED_ON();//OLED开启
	OLED_CLEAR();//OLED清屏
	UartInit();//串口初始化
	while(1)
	{
		DHT11_get_Data();//获取温湿度
		send_buff(DHT11_dat);//串口发送温湿度
		OLED_ShowCHinese(0,0,0);//OLED显示中文 “温”
        OLED_ShowCHinese(18,0,1);//OLED显示中文 “度”
		OLED_ShowNum(50,0,RH,3,15);//OLED显示温度数字
        OLED_ShowCHinese(0,3,2);//OLED显示中文 “湿”
        OLED_ShowCHinese(18,3,3);//OLED显示中文 “度”
		OLED_ShowNum(50,3,TH,3,15);//OLED显示湿度数字
		Delaynms(1000);
	}
}

        效果图

51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示_第11张图片

        相关知识点

                extern

        它的作用是,让你的主函数可以使用定义在其他.C文件里的变量,比如在我DHT11.c中定义了这些变量(图1),那我主函数需要使用这些变量应该就这样做(图2)

图1 图2

         但是需要注意,extern后面的变量不能给它赋值,比如extern    unsigned int R_H=1;是不可以的

                数字转字符串   

                可到我另外一篇文章的最后部分了解

        https://blog.csdn.net/m0_53413766/article/details/123631532

        整体工程资源和字模取样软件我已上传CSDN:51单片机控制DHT11温湿度传感器,并使用OLED屏幕显示-单片机文档类资源-CSDN下载

你可能感兴趣的:(单片机,51单片机)