1
0
Fork 0

提交裸机版工程

This commit is contained in:
ldz 2024-09-06 17:10:09 +08:00
parent 0e839fdba3
commit b0e72aa6df
1099 changed files with 607159 additions and 0 deletions

View file

@ -0,0 +1,32 @@
#ifndef __OLED_DATA_H
#define __OLED_DATA_H
#include <stdint.h>
/*中文字符字节宽度*/
#define OLED_CHN_CHAR_WIDTH 2 //UTF-8编码格式给3GB2312编码格式给2
/*字模基本单元*/
typedef struct
{
char Index[OLED_CHN_CHAR_WIDTH + 1]; //汉字索引
uint8_t Data[32]; //字模数据
} ChineseCell_t;
/*ASCII字模数据声明*/
extern const uint8_t OLED_F8x16[][16];
extern const uint8_t OLED_F6x8[][6];
/*汉字字模数据声明*/
extern const ChineseCell_t OLED_CF16x16[];
/*图像数据声明*/
extern const uint8_t Diode[];
/*按照上面的格式,在这个位置加入新的图像数据声明*/
//...
#endif
/*****************江协科技|版权所有****************/
/*****************jiangxiekeji.com*****************/