📄 txtdisplay.h
字号:
// ------------------- Header file for txtdisplay.c ----------------------------
#ifndef __TEXT_DISPLAY__
#define __TEXT_DISPLAY__
// --------------------------- Function Prototypes -----------------------------
// Chinese word
#define LCD_CHINESE
#ifdef LCD_CHINESE
#include "vigour_fanti.c"
//#include "companyhzk_fanti.c"
//#include "companyhzk_jianti.c"
//#include "txtHero3232.c"
// Set the width and height of font in pixel
void SetFont(uint8 fWidth, fHeight);
// Display a string of Chinese Charactors on the LCD Screen
void disp_hanzi(uint8 *ptrHanzi, uint8 startP, uint8 startC);
#endif
// 5*8-dots Ascii code
//#define LCD_ASCII_0508
#ifdef LCD_ASCII_0508
#include "ascii0508.c"
#define LCD_COL (LCD_CMAX/6)
#define LCD_ROW (LCD_LMAX/8)
#define LCD_CHAR (LCD_COL*LCD_ROW)
// Display an Ascii string on the LCD Screen
void disp_ascii0508(uint8 *ptrAscii, uint8 startP, uint8 startC);
// Tile screen with one letter
void aTile(uint8 *Abc);
// Call all Charactors in the ascii0508.c
void CallBuiltinChar(void);
#endif
// 8*16-dots Ascii code
//#define LCD_ASCII_0816
#ifdef LCD_ASCII_0816
#include "ascii0816.c"
// Display an Ascii string on the LCD Screen
void disp_ascii0816(uint8 *ptrAscii, uint8 startP, uint8 startC);
#endif
// -----------------------------------------------------------------------------
#include "txtdisplay.c"
#endif
// -----------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -