25、字符缩放显示任意大小(LCD|OLED)

news2024/11/25 0:37:36

在常见的显示屏中无论是 ASCII 字符还是 GB2312 的字符,都只能显示字库中设定的字体大小,例如,我们想显示一些像素大小为 48x48 的字符,那我们又得制作相应的字库,非常麻烦。为此在野火的基础上编写了一些函数,简便地实现显示任意大小字符的目的。
显示任意大小字符的功能,其核心是缩放字模,通过 LCD_zoomChar 函数对原始字模数据进行缩放
直接上代码:
使用说明:
1、更改LCD参数宏
2、选择字符取模宏:dDislay_Scheme
3、调用LCD_DisplayString(0, 0, 128, 128, (uint8_t )“4”, 1);函数显示所需字符串,中英文都可以,尺寸最大128128

/**********************************************************************
*file:LCD显示屏缩放显示应用文件
*author:残梦
*versions:V1.0
*date:2023.09.15
*note:使用说明:
	1、更改LCD参数宏
	2、选择字符取模宏:dDislay_Scheme
	3、调用LCD_DisplayString(0, 0, 128, 128, (uint8_t *)"4", 1);函数显示所需字符串,中英文都可以,尺寸最大128*128
**********************************************************************/

#include "stdio.h"
#include "stdint.h"

//LCD参数宏
#define dLCD_Width 240 //显示屏宽度
#define dLCD_Height 240 //显示屏高度

//为了减小内存,数据来源分两种方案:
//A-ASCII码全部都有,不支持汉字,耗用内存较大;
//B-需要使用到的字符,自己取模放置到FontsLibrary16x32数组、FontsList数组、FontsLibrary32x32数组中,消耗内存较小
#define dDislay_Scheme 0 //1--方案A,0--方案B
#if dDislay_Scheme//方案A
const uint8_t ASCII16x32_Table[] = {       //@conslons字体,阴码点阵格式,逐行顺向取摸

0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 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, 0x03,0x80,
0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80,
0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x00,0x00, 0x00,0x00, 0x03,0x80, 0x03,0xc0,
0x03,0x80, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x0e,0x70, 0x0e,0x70,
0x0e,0x70, 0x0e,0x70, 0x0e,0x70, 0x0c,0x30, 0x0c,0x30, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x06,0x18, 0x06,0x38, 0x06,0x30, 0x06,0x30, 0x7f,0xfe, 0x7f,0xfe, 0x0c,0x30, 0x0c,0x30,
0x0c,0x30, 0x0c,0x30, 0x7f,0xfe, 0x7f,0xfe, 0x0c,0x60, 0x1c,0x60, 0x18,0x60, 0x18,0x60,
0x18,0x60, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0xc0, 0x00,0xc0, 0x00,0xc0,
0x07,0xf8, 0x1f,0xf8, 0x38,0xc0, 0x31,0xc0, 0x31,0x80, 0x39,0x80, 0x3d,0x80, 0x1f,0x80,
0x07,0xf0, 0x01,0xf8, 0x03,0xbc, 0x03,0x1c, 0x03,0x0c, 0x03,0x1c, 0x23,0x3c, 0x3f,0xf8,
0x3f,0xe0, 0x07,0x00, 0x06,0x00, 0x06,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x1c,0x07, 0x7e,0x06,
0x63,0x0c, 0x63,0x18, 0x63,0x38, 0x63,0x30, 0x7e,0x60, 0x3c,0xe0, 0x00,0xc0, 0x01,0x80,
0x03,0x80, 0x03,0x38, 0x06,0x7e, 0x0c,0xc6, 0x1c,0xc6, 0x18,0xc6, 0x30,0xc6, 0x70,0xee,
0x60,0x7c, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x0f,0xc0,
0x1f,0xe0, 0x18,0x70, 0x38,0x70, 0x38,0x70, 0x18,0x70, 0x1c,0xe0, 0x0f,0xc0, 0x0f,0x00,
0x3f,0x8c, 0x3b,0x8c, 0x71,0xcc, 0x60,0xec, 0x60,0x7c, 0x70,0x38, 0x70,0x7c, 0x3f,0xfe,
0x1f,0xcf, 0x00,0x00, 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,0xc0, 0x03,0xc0,
0x03,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x30, 0x00,0x60,
0x00,0xe0, 0x01,0xc0, 0x03,0x80, 0x03,0x00, 0x07,0x00, 0x07,0x00, 0x06,0x00, 0x0e,0x00,
0x0e,0x00, 0x0e,0x00, 0x0e,0x00, 0x0e,0x00, 0x0e,0x00, 0x06,0x00, 0x07,0x00, 0x07,0x00,
0x03,0x80, 0x03,0x80, 0x01,0xc0, 0x00,0xe0, 0x00,0x70, 0x00,0x30, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x0c,0x00, 0x0e,0x00,
0x07,0x00, 0x03,0x80, 0x01,0xc0, 0x01,0xc0, 0x00,0xe0, 0x00,0xe0, 0x00,0x60, 0x00,0x70,
0x00,0x70, 0x00,0x70, 0x00,0x70, 0x00,0x70, 0x00,0x60, 0x00,0x60, 0x00,0xe0, 0x00,0xe0,
0x01,0xc0, 0x01,0xc0, 0x03,0x80, 0x07,0x00, 0x0e,0x00, 0x0c,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x01,0x80, 0x01,0x80,
0x01,0x88, 0x19,0x98, 0x0f,0xf8, 0x03,0xc0, 0x03,0xc0, 0x1f,0xf8, 0x19,0x98, 0x01,0x80,
0x01,0x80, 0x01,0x80, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80,
0x01,0x80, 0x7f,0xfe, 0x7f,0xfe, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x03,0x80, 0x03,0xc0, 0x03,0xc0,
0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x07,0x80, 0x1f,0x00, 0x10,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x0f,0xf0, 0x0f,0xf0, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 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,0xc0, 0x03,0xc0, 0x03,0xc0,
0x03,0xc0, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x1c, 0x00,0x18,
0x00,0x38, 0x00,0x30, 0x00,0x70, 0x00,0x60, 0x00,0x60, 0x00,0xc0, 0x00,0xc0, 0x01,0xc0,
0x01,0x80, 0x03,0x80, 0x03,0x00, 0x07,0x00, 0x06,0x00, 0x0e,0x00, 0x0c,0x00, 0x0c,0x00,
0x18,0x00, 0x18,0x00, 0x38,0x00, 0x30,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x07,0xf0, 0x1f,0xf8, 0x18,0x38, 0x38,0x1c, 0x30,0x0c, 0x30,0x3c, 0x70,0x7e, 0x71,0xee,
0x73,0xce, 0x7f,0x0e, 0x7e,0x0e, 0x38,0x0c, 0x30,0x0c, 0x38,0x1c, 0x1c,0x38, 0x1f,0xf0,
0x07,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,
0x03,0xc0, 0x0f,0xc0, 0x3f,0xc0, 0x39,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0,
0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x3f,0xfc,
0x3f,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x0f,0xe0, 0x3f,0xf0, 0x18,0x38, 0x00,0x38, 0x00,0x18, 0x00,0x18, 0x00,0x38, 0x00,0x30,
0x00,0x70, 0x00,0xe0, 0x01,0xc0, 0x03,0x80, 0x07,0x00, 0x0e,0x00, 0x1c,0x00, 0x3f,0xfc,
0x3f,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x1f,0xe0, 0x1f,0xf0, 0x00,0x38, 0x00,0x38, 0x00,0x38, 0x00,0x38, 0x00,0x70, 0x07,0xe0,
0x07,0xf0, 0x00,0x78, 0x00,0x1c, 0x00,0x1c, 0x00,0x1c, 0x00,0x1c, 0x00,0x38, 0x3f,0xf0,
0x3f,0xc0, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0xf0, 0x01,0xf0, 0x01,0xb0, 0x03,0x30, 0x07,0x30, 0x06,0x30, 0x0c,0x30, 0x1c,0x30,
0x38,0x30, 0x30,0x30, 0x70,0x30, 0x7f,0xfe, 0x7f,0xfe, 0x00,0x30, 0x00,0x30, 0x00,0x30,
0x00,0x30, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x1f,0xf8, 0x1f,0xf8, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x1f,0xe0,
0x1f,0xf8, 0x00,0x38, 0x00,0x1c, 0x00,0x1c, 0x00,0x1c, 0x00,0x18, 0x00,0x38, 0x1f,0xf0,
0x1f,0xc0, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x01,0xf8, 0x07,0xf8, 0x0e,0x00, 0x1c,0x00, 0x18,0x00, 0x38,0x00, 0x31,0xc0, 0x3f,0xf8,
0x3e,0x3c, 0x30,0x1c, 0x30,0x0c, 0x30,0x0c, 0x38,0x0c, 0x38,0x0c, 0x1c,0x1c, 0x1f,0xf8,
0x07,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,
0x3f,0xfc, 0x3f,0xfc, 0x00,0x1c, 0x00,0x18, 0x00,0x38, 0x00,0x30, 0x00,0x70, 0x00,0x60,
0x00,0xe0, 0x00,0xc0, 0x01,0xc0, 0x01,0x80, 0x03,0x80, 0x07,0x00, 0x07,0x00, 0x0e,0x00,
0x0e,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x0f,0xf0, 0x1e,0x78, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x3c,0x18, 0x1e,0x78, 0x0f,0xe0,
0x07,0xe0, 0x1e,0x78, 0x3c,0x3c, 0x38,0x1c, 0x30,0x0c, 0x30,0x0c, 0x38,0x1c, 0x1f,0xf8,
0x0f,0xf0, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x0f,0xe0, 0x1e,0x78, 0x38,0x38, 0x30,0x1c, 0x70,0x1c, 0x70,0x0c, 0x30,0x0c, 0x38,0x1c,
0x3e,0xfc, 0x0f,0xec, 0x00,0x1c, 0x00,0x1c, 0x00,0x18, 0x00,0x38, 0x00,0xf0, 0x1f,0xe0,
0x1f,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
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,0xc0, 0x03,0xc0, 0x03,0xc0, 0x01,0x80,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x01,0x80, 0x03,0xc0, 0x03,0xc0,
0x03,0xc0, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x03,0xc0, 0x03,0xc0, 0x03,0xc0, 0x01,0x80,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x03,0xc0, 0x03,0xc0, 0x03,0xc0,
0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x07,0x80, 0x0f,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x10, 0x00,0x38, 0x00,0x70, 0x01,0xe0, 0x03,0xc0, 0x07,0x00,
0x0e,0x00, 0x3c,0x00, 0x1c,0x00, 0x0e,0x00, 0x07,0x80, 0x01,0xc0, 0x00,0xe0, 0x00,0x78,
0x00,0x10, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x3f,0xfc,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x3f,0xfc, 0x3f,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 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, 0x1c,0x00, 0x0e,0x00, 0x07,0x00, 0x03,0xc0, 0x00,0xe0,
0x00,0x70, 0x00,0x3c, 0x00,0x38, 0x00,0x70, 0x01,0xe0, 0x03,0x80, 0x07,0x00, 0x1e,0x00,
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, 0x0e,0x00, 0x0f,0xc0,
0x03,0xe0, 0x00,0x70, 0x00,0x38, 0x00,0x38, 0x00,0x38, 0x00,0x38, 0x00,0x78, 0x03,0xf0,
0x03,0xc0, 0x03,0x00, 0x03,0x00, 0x03,0x00, 0x00,0x00, 0x00,0x00, 0x07,0x00, 0x07,0x80,
0x07,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x01,0xe0, 0x07,0xf8,
0x0e,0x1c, 0x1c,0x0e, 0x18,0x06, 0x30,0x06, 0x30,0x03, 0x61,0xf3, 0x63,0xf3, 0x66,0x33,
0xe6,0x73, 0xce,0x63, 0xcc,0x63, 0xcc,0x66, 0xcc,0x66, 0xcc,0xe6, 0xcf,0xfc, 0xc7,0x3c,
0x60,0x00, 0x60,0x00, 0x60,0x00, 0x30,0x00, 0x3c,0x30, 0x1f,0xf0, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x03,0xc0, 0x03,0xc0, 0x07,0xe0, 0x06,0xe0, 0x06,0x60, 0x0e,0x70, 0x0c,0x70, 0x0c,0x30,
0x1c,0x38, 0x18,0x38, 0x38,0x1c, 0x3f,0xfc, 0x3f,0xfc, 0x70,0x0e, 0x70,0x0e, 0x60,0x06,
0xe0,0x07, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x3f,0xf0, 0x3f,0xf8, 0x38,0x38, 0x38,0x1c, 0x38,0x1c, 0x38,0x18, 0x38,0x38, 0x3f,0xf0,
0x3f,0xf0, 0x38,0x3c, 0x38,0x1c, 0x38,0x0c, 0x38,0x0c, 0x38,0x1c, 0x38,0x3c, 0x3f,0xf8,
0x3f,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,
0x07,0xfc, 0x0f,0xfc, 0x1e,0x00, 0x38,0x00, 0x38,0x00, 0x30,0x00, 0x70,0x00, 0x70,0x00,
0x70,0x00, 0x70,0x00, 0x70,0x00, 0x30,0x00, 0x38,0x00, 0x3c,0x00, 0x1e,0x04, 0x0f,0xfc,
0x03,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x3f,0xe0, 0x3f,0xf0, 0x30,0x38, 0x30,0x1c, 0x30,0x0c, 0x30,0x0e, 0x30,0x0e, 0x30,0x0e,
0x30,0x0e, 0x30,0x0e, 0x30,0x0e, 0x30,0x0c, 0x30,0x1c, 0x30,0x1c, 0x30,0x78, 0x3f,0xf0,
0x3f,0x80, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x1f,0xf8, 0x1f,0xf8, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x1f,0xf8,
0x1f,0xf8, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x1f,0xf8,
0x1f,0xf8, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x1f,0xf8, 0x1f,0xf8, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x1f,0xf8,
0x1f,0xf8, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00,
0x18,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x07,0xfc, 0x0f,0xfc, 0x1c,0x00, 0x38,0x00, 0x30,0x00, 0x70,0x00, 0x70,0x00, 0x70,0xfc,
0x70,0xfc, 0x70,0x0c, 0x70,0x0c, 0x70,0x0c, 0x30,0x0c, 0x38,0x0c, 0x1c,0x0c, 0x0f,0xfc,
0x07,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x3f,0xfc,
0x3f,0xfc, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c,
0x30,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,
0x3f,0xfc, 0x3f,0xfc, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80,
0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x3f,0xfc,
0x3f,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x1f,0xf0, 0x1f,0xf0, 0x00,0x30, 0x00,0x30, 0x00,0x30, 0x00,0x30, 0x00,0x30, 0x00,0x30,
0x00,0x30, 0x00,0x30, 0x00,0x30, 0x00,0x30, 0x00,0x30, 0x00,0x30, 0x10,0x70, 0x1f,0xe0,
0x1f,0xc0, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x38,0x1c, 0x38,0x38, 0x38,0x70, 0x38,0xe0, 0x38,0xc0, 0x39,0x80, 0x3b,0x00, 0x3f,0x00,
0x3f,0x00, 0x3b,0x00, 0x3b,0x80, 0x39,0xc0, 0x38,0xe0, 0x38,0x70, 0x38,0x38, 0x38,0x3c,
0x38,0x1c, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x1c,0x00, 0x1c,0x00, 0x1c,0x00, 0x1c,0x00, 0x1c,0x00, 0x1c,0x00, 0x1c,0x00, 0x1c,0x00,
0x1c,0x00, 0x1c,0x00, 0x1c,0x00, 0x1c,0x00, 0x1c,0x00, 0x1c,0x00, 0x1c,0x00, 0x1f,0xfc,
0x1f,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x38,0x1c, 0x38,0x1c, 0x6c,0x3e, 0x6c,0x3e, 0x6c,0x6e, 0x66,0x6e, 0x66,0x6e, 0x67,0xce,
0x63,0xce, 0x63,0x86, 0x61,0x86, 0x60,0x06, 0x60,0x06, 0x60,0x06, 0x60,0x06, 0x60,0x06,
0x60,0x06, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x38,0x0c, 0x3c,0x0c, 0x3c,0x0c, 0x3e,0x0c, 0x36,0x0c, 0x37,0x0c, 0x33,0x0c, 0x33,0x8c,
0x31,0x8c, 0x31,0xcc, 0x30,0xcc, 0x30,0xec, 0x30,0x6c, 0x30,0x7c, 0x30,0x3c, 0x30,0x3c,
0x30,0x1c, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x0f,0xf0, 0x1f,0xf8, 0x38,0x1c, 0x38,0x1c, 0x70,0x0e, 0x70,0x0e, 0x70,0x0e, 0x60,0x06,
0x60,0x06, 0x60,0x06, 0x70,0x0e, 0x70,0x0e, 0x70,0x0c, 0x38,0x1c, 0x3c,0x38, 0x1f,0xf8,
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,
0x3f,0xe0, 0x3f,0xf8, 0x38,0x3c, 0x38,0x1c, 0x38,0x0c, 0x38,0x0c, 0x38,0x0c, 0x38,0x1c,
0x38,0x78, 0x3f,0xf0, 0x3f,0xc0, 0x38,0x00, 0x38,0x00, 0x38,0x00, 0x38,0x00, 0x38,0x00,
0x38,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x0f,0xf0, 0x1f,0xf8, 0x38,0x1c, 0x38,0x1c, 0x70,0x0e, 0x70,0x0e, 0x70,0x0e, 0x60,0x06,
0x60,0x06, 0x60,0x06, 0x70,0x0e, 0x70,0x0e, 0x70,0x0c, 0x38,0x1c, 0x3c,0x38, 0x1f,0xf8,
0x0f,0xe0, 0x01,0x80, 0x01,0x80, 0x01,0xe2, 0x00,0xff, 0x00,0x3c, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x3f,0xe0, 0x3f,0xf8, 0x38,0x38, 0x38,0x18, 0x38,0x18, 0x38,0x18, 0x38,0x38, 0x3f,0xf0,
0x3f,0xc0, 0x39,0xe0, 0x38,0x60, 0x38,0x70, 0x38,0x38, 0x38,0x38, 0x38,0x1c, 0x38,0x1c,
0x38,0x0e, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x0f,0xf8, 0x1f,0xf8, 0x38,0x00, 0x38,0x00, 0x30,0x00, 0x38,0x00, 0x1e,0x00, 0x0f,0x80,
0x07,0xf0, 0x00,0xf8, 0x00,0x3c, 0x00,0x1c, 0x00,0x1c, 0x00,0x1c, 0x00,0x3c, 0x3f,0xf8,
0x3f,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,
0x7f,0xfe, 0x7f,0xfe, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80,
0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80,
0x01,0x80, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c,
0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x0c, 0x30,0x1c, 0x38,0x1c, 0x1f,0xf8,
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,
0xe0,0x07, 0x70,0x06, 0x70,0x0e, 0x70,0x0e, 0x38,0x0c, 0x38,0x1c, 0x38,0x18, 0x1c,0x18,
0x1c,0x38, 0x0c,0x30, 0x0e,0x70, 0x0e,0x70, 0x06,0x60, 0x07,0xe0, 0x07,0xe0, 0x03,0xc0,
0x03,0xc0, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x60,0x06, 0x60,0x06, 0x60,0x06, 0x60,0x06, 0x60,0x06, 0x60,0x06, 0x61,0x86, 0x63,0xc6,
0x73,0xc6, 0x73,0xce, 0x76,0xee, 0x36,0x6c, 0x36,0x6c, 0x3c,0x7c, 0x3c,0x3c, 0x3c,0x3c,
0x38,0x1c, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x70,0x0e, 0x38,0x1c, 0x1c,0x38, 0x1c,0x38, 0x0e,0x70, 0x06,0xe0, 0x07,0xe0, 0x03,0xc0,
0x03,0xc0, 0x03,0xc0, 0x07,0xe0, 0x0e,0x70, 0x1c,0x30, 0x1c,0x38, 0x38,0x1c, 0x70,0x1e,
0x70,0x0e, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0xe0,0x06, 0x70,0x0e, 0x38,0x0c, 0x38,0x1c, 0x1c,0x38, 0x1c,0x30, 0x0e,0x70, 0x06,0x60,
0x07,0xe0, 0x03,0xc0, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80,
0x01,0x80, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x3f,0xfc, 0x3f,0xfc, 0x00,0x1c, 0x00,0x38, 0x00,0x70, 0x00,0x60, 0x00,0xe0, 0x01,0xc0,
0x03,0x80, 0x03,0x80, 0x07,0x00, 0x0e,0x00, 0x0c,0x00, 0x1c,0x00, 0x38,0x00, 0x3f,0xfc,
0x3f,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x07,0xf0, 0x07,0xf0,
0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00,
0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00,
0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x07,0xf0, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x38,0x00, 0x18,0x00,
0x1c,0x00, 0x0c,0x00, 0x0c,0x00, 0x06,0x00, 0x06,0x00, 0x07,0x00, 0x03,0x00, 0x03,0x80,
0x01,0x80, 0x01,0xc0, 0x00,0xc0, 0x00,0xe0, 0x00,0x60, 0x00,0x60, 0x00,0x30, 0x00,0x30,
0x00,0x38, 0x00,0x18, 0x00,0x1c, 0x00,0x0c, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x0f,0xe0, 0x0f,0xe0,
0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60,
0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60,
0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60, 0x00,0x60, 0x0f,0xe0, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x03,0x80, 0x03,0xc0, 0x06,0xe0, 0x06,0x60, 0x0c,0x30, 0x1c,0x38, 0x18,0x18, 0x30,0x1c,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0xff,0xff, 0xff,0xff, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x1c,0x00, 0x0e,0x00,
0x07,0x00, 0x01,0x80, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x1f,0xf0, 0x1e,0xf8, 0x00,0x18, 0x00,0x1c,
0x00,0x1c, 0x07,0xfc, 0x1f,0xfc, 0x3c,0x1c, 0x38,0x1c, 0x30,0x1c, 0x38,0x7c, 0x3f,0xfc,
0x1f,0xdc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x38,0x00, 0x38,0x00,
0x38,0x00, 0x38,0x00, 0x38,0x00, 0x38,0x00, 0x3b,0xf0, 0x3f,0xf8, 0x3e,0x1c, 0x38,0x0c,
0x38,0x0c, 0x38,0x0c, 0x38,0x0c, 0x38,0x0c, 0x38,0x0c, 0x38,0x1c, 0x38,0x38, 0x3f,0xf0,
0x1f,0xe0, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x03,0xf8, 0x0f,0xf8, 0x1e,0x00, 0x1c,0x00,
0x38,0x00, 0x38,0x00, 0x38,0x00, 0x38,0x00, 0x38,0x00, 0x1c,0x00, 0x1e,0x00, 0x0f,0xf8,
0x03,0xf8, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x1c, 0x00,0x1c,
0x00,0x1c, 0x00,0x1c, 0x00,0x1c, 0x00,0x1c, 0x07,0xfc, 0x1f,0xfc, 0x18,0x1c, 0x38,0x1c,
0x30,0x1c, 0x30,0x1c, 0x30,0x1c, 0x30,0x1c, 0x30,0x1c, 0x38,0x3c, 0x38,0x7c, 0x1f,0xdc,
0x0f,0x9c, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x07,0xf0, 0x1e,0x78, 0x18,0x1c, 0x38,0x1c,
0x30,0x0c, 0x3f,0xfc, 0x3f,0xfc, 0x30,0x00, 0x30,0x00, 0x38,0x00, 0x1c,0x00, 0x1f,0xfc,
0x07,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x7e, 0x01,0xfe,
0x03,0xc0, 0x03,0x80, 0x03,0x00, 0x03,0x00, 0x03,0x00, 0x03,0x00, 0x7f,0xfc, 0x7f,0xfc,
0x03,0x00, 0x03,0x00, 0x03,0x00, 0x03,0x00, 0x03,0x00, 0x03,0x00, 0x03,0x00, 0x03,0x00,
0x03,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x0f,0xfe, 0x1c,0x7e, 0x18,0x38, 0x38,0x18,
0x38,0x18, 0x38,0x38, 0x1c,0x78, 0x1f,0xf0, 0x3b,0x80, 0x30,0x00, 0x38,0x00, 0x1f,0xf8,
0x1f,0xfc, 0x30,0x0e, 0x70,0x0e, 0x70,0x0c, 0x3c,0x3c, 0x1f,0xf8, 0x01,0x80, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x38,0x00, 0x38,0x00,
0x38,0x00, 0x38,0x00, 0x38,0x00, 0x38,0x00, 0x3b,0xf0, 0x3f,0xf8, 0x3c,0x18, 0x38,0x1c,
0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c,
0x38,0x1c, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x01,0x80, 0x03,0xc0,
0x03,0xc0, 0x01,0x80, 0x00,0x00, 0x00,0x00, 0x1f,0xc0, 0x1f,0xc0, 0x01,0xc0, 0x01,0xc0,
0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x3f,0xfc,
0x3f,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x60, 0x00,0x70,
0x00,0x70, 0x00,0x70, 0x00,0x00, 0x00,0x00, 0x3f,0xf0, 0x3f,0xf0, 0x00,0x70, 0x00,0x70,
0x00,0x70, 0x00,0x70, 0x00,0x70, 0x00,0x70, 0x00,0x70, 0x00,0x70, 0x00,0x70, 0x00,0x70,
0x00,0x70, 0x00,0x70, 0x00,0x70, 0x00,0x60, 0x39,0xe0, 0x3f,0xc0, 0x06,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x18,0x00, 0x18,0x00,
0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x1c, 0x18,0x38, 0x18,0x70, 0x19,0xe0,
0x1b,0xc0, 0x1f,0x00, 0x1b,0x80, 0x19,0xc0, 0x19,0xe0, 0x18,0xf0, 0x18,0x78, 0x18,0x3c,
0x18,0x1e, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x1f,0xc0, 0x1f,0xc0,
0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0,
0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x3f,0xfc,
0x3f,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x6f,0x3c, 0x6f,0xec, 0x79,0xce, 0x71,0xce,
0x71,0x8e, 0x71,0x8e, 0x71,0x8e, 0x71,0x8e, 0x71,0x8e, 0x71,0x8e, 0x71,0x8e, 0x71,0x8e,
0x71,0x8e, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x33,0xf0, 0x3f,0xf8, 0x3c,0x18, 0x38,0x1c,
0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c,
0x38,0x1c, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x0f,0xf0, 0x1f,0xf8, 0x38,0x1c, 0x30,0x0c,
0x30,0x0c, 0x70,0x0e, 0x70,0x0e, 0x70,0x0e, 0x30,0x0c, 0x38,0x1c, 0x38,0x38, 0x1f,0xf8,
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,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x3b,0xf0, 0x3f,0xf8, 0x3e,0x1c, 0x38,0x0c,
0x38,0x0c, 0x38,0x0c, 0x38,0x0c, 0x38,0x0c, 0x38,0x0c, 0x38,0x1c, 0x38,0x38, 0x3f,0xf0,
0x3f,0xe0, 0x38,0x00, 0x38,0x00, 0x38,0x00, 0x38,0x00, 0x38,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x07,0xfc, 0x1f,0x7c, 0x18,0x1c, 0x38,0x1c,
0x30,0x1c, 0x30,0x1c, 0x30,0x1c, 0x30,0x1c, 0x30,0x1c, 0x38,0x3c, 0x38,0x7c, 0x1f,0xdc,
0x0f,0x9c, 0x00,0x1c, 0x00,0x1c, 0x00,0x1c, 0x00,0x1c, 0x00,0x1c, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x19,0xf8, 0x1b,0xfc, 0x1e,0x0c, 0x1c,0x0c,
0x18,0x0e, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00, 0x18,0x00,
0x18,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x0f,0xf8, 0x1e,0x38, 0x18,0x00, 0x18,0x00,
0x1c,0x00, 0x0f,0x80, 0x07,0xf0, 0x00,0xf8, 0x00,0x38, 0x00,0x1c, 0x00,0x18, 0x1f,0xf8,
0x1f,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,
0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x7f,0xfc, 0x7f,0xfc, 0x06,0x00, 0x06,0x00,
0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x06,0x00, 0x07,0x00, 0x03,0xfc,
0x01,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c,
0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x1c, 0x38,0x3c, 0x18,0x7c, 0x1f,0xfc,
0x0f,0x9c, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x70,0x0e, 0x30,0x0c, 0x38,0x1c, 0x18,0x18,
0x1c,0x38, 0x1c,0x30, 0x0c,0x30, 0x0e,0x70, 0x06,0x60, 0x07,0xe0, 0x07,0xc0, 0x03,0xc0,
0x03,0xc0, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x60,0x06, 0x60,0x06, 0x60,0x06, 0x61,0x86,
0x71,0x8e, 0x73,0xce, 0x33,0xcc, 0x32,0xec, 0x36,0x6c, 0x36,0x6c, 0x3c,0x7c, 0x3c,0x3c,
0x1c,0x38, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x38,0x1c, 0x1c,0x18, 0x1c,0x38, 0x0e,0x70,
0x07,0xe0, 0x03,0xc0, 0x03,0xc0, 0x03,0xc0, 0x07,0xe0, 0x0e,0x70, 0x1c,0x38, 0x38,0x1c,
0x78,0x1e, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x70,0x0e, 0x30,0x0c, 0x38,0x1c, 0x18,0x18,
0x1c,0x38, 0x1c,0x38, 0x0e,0x30, 0x0e,0x70, 0x06,0x60, 0x07,0xe0, 0x03,0xe0, 0x03,0xc0,
0x03,0xc0, 0x03,0x80, 0x03,0x80, 0x07,0x00, 0x7e,0x00, 0x7c,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x1f,0xf8, 0x1f,0xf8, 0x00,0x38, 0x00,0x70,
0x00,0xe0, 0x01,0xc0, 0x03,0x80, 0x03,0x00, 0x07,0x00, 0x0e,0x00, 0x1c,0x00, 0x3f,0xfc,
0x3f,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0xf8, 0x01,0xf8,
0x01,0x80, 0x03,0x80, 0x03,0x80, 0x03,0x80, 0x03,0x80, 0x03,0x80, 0x03,0x80, 0x03,0x00,
0x3f,0x00, 0x3c,0x00, 0x0f,0x00, 0x03,0x00, 0x03,0x80, 0x03,0x80, 0x03,0x80, 0x03,0x80,
0x03,0x80, 0x03,0x80, 0x03,0x80, 0x01,0x80, 0x01,0xe0, 0x00,0xf8, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80,
0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80,
0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80,
0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x01,0x80, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x1e,0x00, 0x1f,0x80,
0x01,0x80, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x00,0xc0,
0x00,0xfc, 0x00,0x3c, 0x00,0xe0, 0x00,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0xc0,
0x01,0xc0, 0x01,0xc0, 0x01,0xc0, 0x01,0x80, 0x07,0x80, 0x1f,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x1e,0x00,
0x3f,0x06, 0x73,0x86, 0x61,0xfc, 0x60,0xfc, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,
};

typedef struct _tFont
{
	const uint8_t *table;
	uint16_t Width;
	uint16_t Height;

} sFONT;

sFONT Font16x32 = {
  ASCII16x32_Table,
  16, /* Width */
  32, /* Height */
};
#else//方案B--取模方式:宋体-阴码-逐行式-32*32-顺向(高位在前)
#define dFontsSize32x32 (32*32/8)//格式32*32,字符时宽度/2
//所有取模的字符
uint8_t AsciiLibrary16x32[12][dFontsSize32x32/2 + 1] = {\
	{'0', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xC0, 0x06, 0x20, 0x0C, 0x30, 0x18, 0x18, 0x18, 0x18, 0x18, 0x08, 0x30, 0x0C, 0x30, 0x0C, 0x30, 0x0C, 0x30, 0x0C, \
		0x30, 0x0C, 0x30, 0x0C, 0x30, 0x0C, 0x30, 0x0C, 0x30, 0x0C, 0x30, 0x0C, 0x18, 0x08, 0x18, 0x18, 0x18, 0x18, 0x0C, 0x30, 0x06, 0x20, 0x03, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },/*"0",0*/
	{ '1',0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x01,0x80,0x1F,0x80,0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80 ,\
		 0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,0x03,0xC0,0x1F,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },/*"1",1*/
	{ '2',0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xE0,0x08,0x38,0x10,0x18,0x20,0x0C,0x20,0x0C,0x30,0x0C,0x30,0x0C,0x00,0x0C,0x00,0x18,0x00,0x18 ,\
		 0x00,0x30,0x00,0x60,0x00,0xC0,0x01,0x80,0x03,0x00,0x02,0x00,0x04,0x04,0x08,0x04,0x10,0x04,0x20,0x0C,0x3F,0xF8,0x3F,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },/*"2",2*/
	{ '3',0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xC0,0x18,0x60,0x30,0x30,0x30,0x18,0x30,0x18,0x30,0x18,0x00,0x18,0x00,0x18,0x00,0x30,0x00,0x60 ,\
		 0x03,0xC0,0x00,0x70,0x00,0x18,0x00,0x08,0x00,0x0C,0x00,0x0C,0x30,0x0C,0x30,0x0C,0x30,0x08,0x30,0x18,0x18,0x30,0x07,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },/*"3",3*/
	{ '4',0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x60,0x00,0xE0,0x00,0xE0,0x01,0x60,0x01,0x60,0x02,0x60,0x04,0x60,0x04,0x60,0x08,0x60 ,\
		 0x08,0x60,0x10,0x60,0x30,0x60,0x20,0x60,0x40,0x60,0x7F,0xFC,0x00,0x60,0x00,0x60,0x00,0x60,0x00,0x60,0x00,0x60,0x03,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },/*"4",4*/
	{ '5',0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFC,0x0F,0xFC,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x13,0xE0,0x14,0x30 ,\
		 0x18,0x18,0x10,0x08,0x00,0x0C,0x00,0x0C,0x00,0x0C,0x00,0x0C,0x30,0x0C,0x30,0x0C,0x20,0x18,0x20,0x18,0x18,0x30,0x07,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },/*"5",5*/
	{ '6',0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xE0,0x06,0x18,0x0C,0x18,0x08,0x18,0x18,0x00,0x10,0x00,0x10,0x00,0x30,0x00,0x33,0xE0,0x36,0x30 ,\
		 0x38,0x18,0x38,0x08,0x30,0x0C,0x30,0x0C,0x30,0x0C,0x30,0x0C,0x30,0x0C,0x18,0x0C,0x18,0x08,0x0C,0x18,0x0E,0x30,0x03,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },/*"6",6*/
	{ '7',0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xFC,0x1F,0xFC,0x10,0x08,0x30,0x10,0x20,0x10,0x20,0x20,0x00,0x20,0x00,0x40,0x00,0x40,0x00,0x40 ,\
		 0x00,0x80,0x00,0x80,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x03,0x00,0x03,0x00,0x03,0x00,0x03,0x00,0x03,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },/*"7",7*/
	{ '8',0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xE0,0x0C,0x30,0x18,0x18,0x30,0x0C,0x30,0x0C,0x30,0x0C,0x38,0x0C,0x38,0x08,0x1E,0x18,0x0F,0x20 ,\
		 0x07,0xC0,0x18,0xF0,0x30,0x78,0x30,0x38,0x60,0x1C,0x60,0x0C,0x60,0x0C,0x60,0x0C,0x60,0x0C,0x30,0x18,0x18,0x30,0x07,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },/*"8",8*/
	{ '9',0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xC0,0x18,0x20,0x30,0x10,0x30,0x18,0x60,0x08,0x60,0x0C,0x60,0x0C,0x60,0x0C,0x60,0x0C,0x60,0x0C ,\
		 0x70,0x1C,0x30,0x2C,0x18,0x6C,0x0F,0x8C,0x00,0x0C,0x00,0x18,0x00,0x18,0x00,0x10,0x30,0x30,0x30,0x60,0x30,0xC0,0x0F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },/*"9",9*/
	{ '-',0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ,\
		 0x7F,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 },/*"-",10*/
	{ '.',0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ,\
		 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x3C,0x00,0x3C,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }/*".",11*/
};

uint8_t FontsList[] = "残梦";//所有取模的汉字
uint8_t FontsLibrary32x32[2][dFontsSize32x32] = {\
	{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x1C,0x00,0x00,0x08,0x1B,0x00,0x3F,0xFC,0x18,0xC0,0x03,0x00,0x18,0xE0,0x03,0x00,0x18,0x60,
	 0x02,0x00,0x18,0x40,0x02,0x00,0x18,0x30,0x06,0x00,0x1B,0xF8,0x06,0x0B,0xFC,0x00,0x07,0xFC,0x18,0x00,0x04,0x18,0x18,0x00,0x0C,0x18,0x18,0x18,0x08,0x18,0x19,0xF8,
	 0x0E,0x10,0xFE,0x00,0x13,0x13,0x18,0x20,0x11,0xB0,0x18,0x30,0x21,0x30,0x08,0x60,0x41,0x20,0x0C,0xC0,0x00,0x60,0x0D,0x80,0x00,0x40,0x0F,0x00,0x00,0xC0,0x06,0x00,
	 0x00,0x80,0x0E,0x04,0x01,0x00,0x1B,0x04,0x03,0x00,0x71,0x84,0x06,0x00,0xC0,0xEC,0x08,0x03,0x00,0x7C,0x10,0x1C,0x00,0x3C,0x20,0x00,0x00,0x0C,0x00,0x00,0x00,0x00},/*"残",0*/

	{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x08,0x00,0x00,0x70,0x0E,0x00,0x00,0x60,0x0C,0x00,0x00,0x60,0x0C,0x00,0x00,0x64,0x0C,0x30,0x1F,0xFE,0xFF,0xF8,
	 0x00,0x61,0x1E,0x00,0x00,0xF0,0x1E,0x00,0x00,0xEC,0x3D,0x00,0x01,0xEE,0x3C,0x80,0x03,0x66,0x6C,0xE0,0x02,0x60,0xCC,0x70,0x04,0x61,0x0C,0x3C,0x08,0x62,0x0C,0x10,
	 0x30,0x64,0x0C,0x00,0x00,0x4E,0x08,0x00,0x00,0x0C,0x00,0x80,0x00,0x1F,0xFF,0xC0,0x00,0x30,0x01,0xC0,0x00,0x60,0x03,0x80,0x00,0xD0,0x07,0x00,0x01,0x8C,0x0E,0x00,
	 0x02,0x06,0x1C,0x00,0x0C,0x06,0x30,0x00,0x10,0x04,0xE0,0x00,0x00,0x03,0x80,0x00,0x00,0x1E,0x00,0x00,0x00,0xF0,0x00,0x00,0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00}/*"梦",1*/
};
#endif

static void LCD_ZoomChar(uint16_t in_width,uint16_t in_heig,uint16_t out_width,uint16_t out_heig,uint8_t *in_ptr,uint8_t *out_ptr,uint8_t en_cn);
static void LCD_DrawChar_Ex(uint16_t usX,uint16_t usY,uint16_t Font_width,uint16_t Font_Height,uint8_t *c,uint16_t DrawModel);
static int LCD_DisplaySchemeB_GetAscii(uint8_t ascii, uint16_t *pos);
static int LCD_DisplaySchemeB_GetFonts(uint16_t fonts, uint16_t *pos);

#define ZOOMMAXBUFF 16384//128*128
uint8_t zoomBuff[ZOOMMAXBUFF] = { 0 };	//用于缩放的缓存,最大支持到128*128
uint8_t zoomTempBuff[1024] = { 0 };
/**
 * @brief  缩放字模,缩放后的字模由1个像素点由8个数据位来表示
										0x01表示笔迹,0x00表示空白区
 * @param  in_width :原始字符宽度
 * @param  in_heig :原始字符高度
 * @param  out_width :缩放后的字符宽度
 * @param  out_heig:缩放后的字符高度
 * @param  in_ptr :字库输入指针	注意:1pixel 1bit
 * @param  out_ptr :缩放后的字符输出指针 注意: 1pixel 8bit
 *		out_ptr实际上没有正常输出,改成了直接输出到全局指针zoomBuff中
 * @param  en_cn :0为英文,1为中文
 * @retval 无
 */
static void LCD_ZoomChar(uint16_t in_width,	//原始字符宽度
	uint16_t in_heig,		//原始字符高度
	uint16_t out_width,	//缩放后的字符宽度
	uint16_t out_heig,	//缩放后的字符高度
	uint8_t *in_ptr,	//字库输入指针	注意:1pixel 1bit
	uint8_t *out_ptr, //缩放后的字符输出指针 注意: 1pixel 8bit
	uint8_t en_cn)		//0为英文,1为中文	
{
	uint8_t *pts, *ots;
	//根据源字模及目标字模大小,设定运算比例因子,左移16是为了把浮点运算转成定点运算
	unsigned int xrIntFloat_16 = (in_width << 16) / out_width + 1;
	unsigned int yrIntFloat_16 = (in_heig << 16) / out_heig + 1;

	unsigned int srcy_16 = 0;
	unsigned int y, x;
	uint8_t *pSrcLine;

	uint16_t byteCount, bitCount;

	//检查参数是否合法
	if (in_width > 48) return;												//字库不允许超过48像素
	if (in_width * in_heig == 0) return;
	if (in_width * in_heig > 48 * 48) return; 					//限制输入最大 48*48

	if (out_width * out_heig == 0) return;
	if (out_width * out_heig >= ZOOMMAXBUFF) return; //限制最大缩放 128*128
	pts = (uint8_t*)&zoomTempBuff;

	//为方便运算,字库的数据由1 pixel/1bit 映射到1pixel/8bit
	//0x01表示笔迹,0x00表示空白区
	if (en_cn == 0x00)//英文
	{
		//英文和中文字库上下边界不对,可在此处调整。需要注意tempBuff防止溢出
		for (byteCount = 0; byteCount < in_heig*in_width / 8; byteCount++)
		{
			for (bitCount = 0; bitCount < 8; bitCount++)
			{
				//把源字模数据由位映射到字节
				//in_ptr里bitX为1,则pts里整个字节值为1
				//in_ptr里bitX为0,则pts里整个字节值为0
				*pts++ = (in_ptr[byteCount] & (0x80 >> bitCount)) ? 1 : 0;
			}
		}
	}
	else //中文
	{
		for (byteCount = 0; byteCount < in_heig*in_width / 8; byteCount++)
		{
			for (bitCount = 0; bitCount < 8; bitCount++)
			{
				//把源字模数据由位映射到字节
				//in_ptr里bitX为1,则pts里整个字节值为1
				//in_ptr里bitX为0,则pts里整个字节值为0
				*pts++ = (in_ptr[byteCount] & (0x80 >> bitCount)) ? 1 : 0;
			}
		}
	}

	//zoom过程
	pts = (uint8_t*)&zoomTempBuff;	//映射后的源数据指针
	ots = (uint8_t*)&zoomBuff;	//输出数据的指针
	for (y = 0; y < out_heig; y++)	/*行遍历*/
	{
		unsigned int srcx_16 = 0;
		pSrcLine = pts + in_width * (srcy_16 >> 16);
		for (x = 0; x < out_width; x++) /*行内像素遍历*/
		{
			ots[x] = pSrcLine[srcx_16 >> 16]; //把源字模数据复制到目标指针中
			srcx_16 += xrIntFloat_16;			//按比例偏移源像素点
		}
		srcy_16 += yrIntFloat_16;				  //按比例偏移源像素点
		ots += out_width;
	}
	/*!!!缩放后的字模数据直接存储到全局指针zoomBuff里了*/
	out_ptr = (uint8_t*)&zoomBuff;	//out_ptr没有正确传出,后面调用直接改成了全局变量指针!

	/*实际中如果使用out_ptr不需要下面这一句!!!
		只是因为out_ptr没有使用,会导致warning。强迫症*/
	out_ptr++;
}

/**
 * @brief  利用缩放后的字模显示字符
 * @param  Xpos :字符显示位置x
 * @param  Ypos :字符显示位置y
 * @param  Font_width :字符宽度
 * @param  Font_Heig:字符高度
 * @param  c :要显示的字模数据
 * @param  DrawModel :是否反色显示
 * @retval 无
 */
static void LCD_DrawChar_Ex(uint16_t usX, //字符显示位置x
	uint16_t usY, //字符显示位置y
	uint16_t Font_width, //字符宽度
	uint16_t Font_Height,//字符高度 
	uint8_t *c,			//字模数据
	uint16_t DrawModel)	//是否反色显示
{
	uint32_t index = 0, counter = 0;
	uint16_t x = 0, y = 0;

	//按字节读取字模数据
	//由于前面直接设置了显示窗口,显示数据会自动换行
	for (index = 0; index < Font_Height; index++)
	{
		y++; x = 0;
		if ((usY + y) >= dLCD_Height)return;
		//一位一位处理要显示的颜色
		for (counter = 0; counter < Font_width; counter++)
		{
			//缩放后的字模数据,以一个字节表示一个像素位
			//整个字节值为1表示该像素为笔迹
			//整个字节值为0表示该像素为背景
			if (*c++ == DrawModel)printf("*");
			//LCD_Fast_DrawPoint(usX + x, usY + y, POINT_COLOR);
			else
				printf(" ");//LCD_Fast_DrawPoint(usX + x, usY + y, BACK_COLOR);
			x++;
			if ((usX + x) >= dLCD_Width)return;
		}
		printf("\n");
	}
}

#if dDislay_Scheme == 0
/****************************************************
@function:在库中查找ascii的位置
@param:ascii--待查找字符
		pos--库中位置
@return:-1--不存在,0--查找成功
@note:
****************************************************/
static int LCD_DisplaySchemeB_GetAscii(uint8_t ascii,uint16_t *pos)
{
	unsigned int FontsLibrarySize = 0, i = 0;
	unsigned char status = 0;

	//判断字符在库中存在不
	FontsLibrarySize = sizeof(AsciiLibrary16x32) / (dFontsSize32x32/2 + 1);
	i = 0;
	status = 0;
	while (i < FontsLibrarySize)
	{
		if (ascii == AsciiLibrary16x32[i][0]) { status = 1; break; }
		i++;
	}
	if (status == 0) return -1; //不存在
	*pos = i;
	return 0;
}

/****************************************************
@function:在库中查找fonts的位置
@param:fonts--待查找字符
		pos--库中位置
@return:-1--不存在,0--查找成功
@note:
****************************************************/
static int LCD_DisplaySchemeB_GetFonts(uint16_t fonts, uint16_t *pos)
{
	unsigned int FontsLibrarySize = 0, i = 0;
	unsigned char status = 0;
	uint16_t usCh = 0;  //中文

	//判断字符在库中存在不
	FontsLibrarySize = (sizeof(FontsList) - 1) / 2;
	i = 0;
	status = 0;
	while (i < FontsLibrarySize)
	{
		usCh = *(uint16_t *)(&FontsList[i*2]);
		usCh = (usCh << 8) + (usCh >> 8);
		if (usCh == fonts) { status = 1; break; }
		i++;
	}
	if (status == 0) return -1; //不存在
	*pos = i;
	return 0;
}
#endif

/****************************************************
@function:显示中英文字符串
@param: x,y--显示位置
		FontsWidth,FontsHeight--字体宽度、高度,最大128*128
		ptr--待显示的字符串
		DrawModel--是否反色显示
@return:-1--不存在,0--查找成功
@note:LCD_DisplayString(0, 0, 64, 64, (uint8_t *)"4梦0", 1);
****************************************************/
void LCD_DisplayZoomString(uint16_t x, uint16_t y, uint16_t FontsWidth, uint16_t FontsHeight, uint8_t *ptr, uint16_t DrawModel)
{
	uint8_t status = 0;

	uint16_t Charwidth = FontsWidth; //默认为Font_width,英文宽度为中文宽度的一半
	uint8_t *psr = NULL;
	uint16_t usCh = 0;  //中文
	uint8_t Ascii = 0;	//英文
	uint8_t *pAddress = NULL;
	uint16_t pos = 0;

	while (*ptr != '\0')
	{
		if (*ptr > 0x80)//如果是中文
		{
			Charwidth = FontsWidth;
			usCh = *(uint16_t *)ptr;
			usCh = (usCh << 8) + (usCh >> 8);
			status = 0;
			#if dDislay_Scheme
			{

			}
			#else
			{
				if (LCD_DisplaySchemeB_GetFonts(usCh, &pos) == 0)//去取模的库中查找
				{
					status = 1;
					pAddress = FontsLibrary32x32[pos];
				}
			}
			#endif

			//显示此中文
			if (status == 1)
			{
				LCD_ZoomChar(32, 32, Charwidth, FontsHeight, pAddress, psr, 0);//使用32*32字体缩放字模数据
				LCD_DrawChar_Ex(x, y, Charwidth, FontsHeight, (uint8_t*)&zoomBuff, DrawModel);//显示单个字符
			}
			x += Charwidth;
			ptr += 2;
		}
		else
		{
			Charwidth = FontsWidth / 2;
			Ascii = *ptr;

			status = 0;
			#if dDislay_Scheme
			{
				pAddress = (uint8_t *)&Font16x32.table[(Ascii - 32) * Font16x32.Height*Font16x32.Width / 8];
				status = 1;
			}
			#else
			{
				if (LCD_DisplaySchemeB_GetAscii(Ascii, &pos) == 0)
				{
					status = 1;
					pAddress = &AsciiLibrary16x32[pos][1];
				}
			}
			#endif

			if (status == 1)
			{
				LCD_ZoomChar(16, 32, Charwidth, FontsHeight, pAddress, psr, 0);//使用16*32字体缩放字模数据
				LCD_DrawChar_Ex(x, y, Charwidth, FontsHeight, (uint8_t*)&zoomBuff, DrawModel);//显示单个字符
			}
			x += Charwidth;
			ptr++;
		}
	}
}

使用示例:


int main()
{
	LCD_DisplayZoomString(0, 0, 64, 64, (uint8_t *)"4梦0123456789-.", 1);
	while (1);
}

在这里插入图片描述
在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1021641.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

数据结构 第二章作业 线性表 西安石油大学

在顺序表中插入和删除一个结点需平均移动多少个结点&#xff1f;具体的移动次数取决于 哪两个因素&#xff1f; 在顺序表中插入和删除一个结点时&#xff0c;平均移动的结点数量取决于两个因素&#xff1a;插入/删除位置和当前顺序表的长度。 插入/删除位置&#xff1a;如果要…

webservice初探

使用jdk1.8完成了一个小示例&#xff0c;记录一下。springboot使用的2.7.15版本。 服务端 domain package com.example.wsserver.domain;public class Zonecode {public Zonecode(String code, String name) {this.code code;this.name name;}private String code;private…

vue-grid-layout移动卡片到页面底部时页面滚动条跟随滚动

问题描述&#xff1a;默认情况下 vue-grid-layout 移动卡片到页面底部时页面滚动条并不会跟随卡片滚动。 问题解决&#xff1a; 在 grid-item中的move事件中&#xff0c;获取到当前移动的元素&#xff0c;并使用scrollIntoView方法来实现滚动条跟随。 代码如下&#xff1a; c…

Apache 原生 Hadoop 运维命令

Hadoop 1、检查原生hadoop和压缩库是否可用 hadoop checknative2、打印hadoop环境的配置路径 hadoop classpathHDFS 1、查看hdfs文件系统的状态 hdfs dfsadmin -report2、获取安全模式的状态 hdfs dfsadmin -safemode get安全模式下只可进行读操作 3、文件系统健康检查 …

Windows 10 + Jenkins 2.4 安装插件时https 的证书问题及解决

本篇面临与解决的问题 本篇是在 Windows 10中安装Jenkins 2.414.1 &#xff0c; 在安装完成之后安装一些需要的插件&#xff0c; 可以在浏览器端安装插件的时候&#xff0c; 总是不成功&#xff0c; 控制台报以下错误&#xff1a; SEVERE h.model.UpdateCenter$DownloadJob#r…

工作中怎么去进行测试用例的编写

作为一个测试人员&#xff0c;无论是测试资深大佬还是刚入门的测试小白应该都知道&#xff0c;编写测试用例是我们测试的核心工作之一&#xff0c;往往测试用例写的标准与否&#xff0c;最能体现我们测试人员的差距&#xff0c;那么如何编写一篇优秀高质量的测试用例呢&#xf…

Postman应用——测试脚本Test Script

文章目录 Test Script脚本CollectionFolderRequest 解析响应体断言测试 测试脚本可以在Collection、Folder和Request的Pre-request script 和 Test script中编写&#xff0c;测试脚本可以检测请求响应的各个方面&#xff0c;包括正文、状态代码、头、cookie、响应时间等&#x…

Doris 2.0.1 Dockerfile制作

镜像编译 准备工作 1、创建目录 └── docker-build // 构建根目录 └── fe // FE 构建目录 ├── dockerfile …

JVM的内存分配及垃圾回收

内存分配 在了解Java的内存管理前&#xff0c;需要知道JVM中的内存分配。 栈 存储局部变量。在方法的定义中或在方法中声明的变量为局部变量&#xff1b;栈内存中的数据在该方法结束&#xff08;返回或抛出异常或方法体运行到最后&#xff09;时自动释放栈中存放的数据结构为…

Linux:haproxy部署--搭建nginx集群

Haproxy介绍 Haproxy是一个开源的高性能的反向代理或者说是负载均衡服务软件之一&#xff0c;它支持双机热备、虚拟主机、基于TCP和HTTP应用代理等功能。 其配置简单&#xff0c;而且拥有很好的对服务器节点的健康检查功能&#xff08;相当于keepalived健康检查&#xff09;&am…

区块链安全,哈希函数暴露的攻击向量与对策

区块链安全&#xff0c;哈希函数暴露的攻击向量与对策 简介 Length Extension Attack 是一种与某些特定类型的哈希函数&#xff08;如 MD5&#xff0c;SHA-1 和 SHA-2&#xff09;的特性有关的攻击。简单来说&#xff0c;这种攻击利用了一个事实&#xff0c;即知道 H(message)…

Spring Boot 各版本的支持时间

1. Spring Boot 各版本的支持时间 Spring Boot 2.7 的版本&#xff0c;支持到2023-11-18&#xff0c;之后就要停止支持了。 按照官网的数据&#xff0c;3.0 的版本也是到2023年11月就停止支持了。如果要转到SpringBoot3&#xff0c;直接从3.1开始吧。到写这篇文章时&#xff…

如何在电脑和手机之间无线传输大文件?不限文件格式、不压缩画质

AirDroid个人版支持在 Windows、Mac、Linux、安卓、iOS 之间跨平台互传文件&#xff0c;无需数据线&#xff0c;没有文件类型的限制&#xff0c;更不用担心图片或视频的画质被压缩——无损传输&#xff0c;轻松高效。 如果设备连接的是同一网络&#xff08;局域网内&#xff09…

【最优化】—— 最优化简介(一)

文章目录 前言最优化问题概括最优化问题的一般形式最优化问题的类型例子&#xff1a;稀疏优化 最优化的基本概念全局和局部最优解优化算法收敛性算法的渐进收敛速度算法的复杂度 前言 本系列文章作为最优化学习的相关笔记。参考书目&#xff1a;文再文老师的《最优化&#xff…

stm32f103步进电机S曲线加减速计算

S曲线主要实现低速扭力大&#xff0c;更快更稳 https://zhuanlan.zhihu.com/p/396648926?utm_campaign&utm_mediumsocial&utm_oi1361101006265331712&utm_psn1686906450235133952&utm_sourcezhihu 可点击上面链接查看啤酒杯的运动动画 摘自一段知乎上一段关于…

C#,数值计算——Logisticdev的计算方法与源程序

1 文本格式 using System; namespace Legalsoft.Truffer { /// <summary> /// Structure for logistic deviates. /// </summary> public class Logisticdev : Ran { private double mu { get; set; } private double sig {…

PaddlePaddle Hackathon 飞桨黑客马拉松热身赛上线!

挑战自我 拓展技能 激发创新 挑战极限 再次相遇黑客松 我们期待你的加入&#xff01; 第五期 PaddlePaddle Hackathon 飞桨黑客马拉松热身赛上线&#xff0c;本次活动是面向全球开发者的深度学习领域编程活动&#xff0c;鼓励开发者了解和参与飞桨深度学习开源项目与文心大…

基于海康Ehome/ISUP接入到LiveNVR实现海康摄像头、录像机视频统一汇聚,做到物联网无插件直播回放和控制

LiveNVR支持海康NVR摄像头通EHOME接入ISUP接入LiveNVR分发视频流或是转GB28181 1、海康 ISUP 接入配置2、海康设备接入2.1、海康EHOME接入配置示例2.2、海康ISUP接入配置示例 3、通道配置3.1、直播流接入类型 海康ISUP3.2、海康 ISUP 设备ID3.3、启用保存3.4、接入成功 4、相关…

TC397 IfxAsclin串口收发分析

TC397 IfxAsclin串口收发分析 硬件FIFO 16 bytes TxFIFO 16 bytes RxFIFO 软件操作: 通过以上函数调用分析,可知: 1:初始化串口时,指定的FIFO为S/W 缓冲FIFO 2:ILLD提供的ISR操作函数: IfxAsclin_Asc_isrTransmit(&gstAsc2); IfxAsclin_Asc_isrReceive(&gs…

VMware虚拟机如何设置网络

一直没弄明白怎么能让虚拟机正常上网和访问&#xff0c;最近总结一个小经验 要在宿主机访问虚拟机电脑服务器&#xff0c;要设置成nat格式&#xff0c;虚拟机可以上网&#xff0c;宿主机访问虚拟机上的ip即可访问虚拟机里的服务器&#xff0c;也就是这样设置就行。 这时候ip不…