⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 st7920_graphics.h

📁 一个测试LCD的应用程序
💻 H
字号:
// --------------------- Header file for st7920_graphics.c ---------------------
#ifndef __ST7920_GRAPHICS__
#define __ST7920_GRAPHICS__

// ------------------------- Function Prototypes -------------------------------
// Wait and Clear
void WAC(void);
// Read data from GDRAM
uint16 ReadData(uint8 xUnit, yBit);
// Locate a position in Gaphic Mode
void Locate(uint8 xUnit, yBit);
// Tile LCD screen with two datas in Gaphic Mode
void gTile(uint8 fst, snd);
// Draw a Horizontal Line
void LineHs(uint8 X0, Y0, xUnits, Style);
// Draw a Horizontal Line
void LineH(uint8 X0, Y0, xDots);
// Draw a Vertical Line
void LineV(uint8 X0, Y0, yBits);
// Display Standard Testing Graphics
void GraphicTest(void);
// -----------------------------------------------------------------------------
#include "st7920_graphics.c"
#endif
// -----------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -