📄 chinese.c
字号:
#include "color.h"
#include "graphic.h"
#include "character.h"
#include "hzk16x16.h"
#include "ascii.h"
/*
* display a Chinese character
* x,y : coordinate of the start pixel
* cnc_codes : the pointer of the character's encode in the font lib
* the size of the Chinese characters is 16*16
* color : the color of the character
*/
void display_cnc(unsigned int x, unsigned int y, unsigned char* cnc_codes, int color)
{
}
/*
* display a string,the string can contain
* onlyChinese characters
*
* x,y : the beginning coordinate of the string to be displayed
* 0<=x<=39 : each line holds 40 chinese character (each character contain 16 pixels) horizontally
* 0<=y<=19 : each line holds 20 chinese charcter (each character contain 16 pixels) vertically
*
* so the whole LCD can display 40*20 chinese characters,
*
* color : the color of the string
*/
void display_string(unsigned int x, unsigned int y, char* str, int color)
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -