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

📄 graphics.h

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

// --------------------------- Functions Declaration ---------------------------
// Display an image at the specific position of the screen
void disp_image(uint8 code *ptrImage, uint8 X0, Y0);
// Display an image on LCD upleft corner
void disp_upleft(uint8 code *ptrImage);
// Display an image on LCD screen center
void disp_center(uint8 code *ptrImage);
// Draw a point at specific coordinate
void Point(uint8 Xpoint, uint8 Ypoint);
// Draw a horizontal line
void LineH(uint8 X0, uint8 Y0, uint8 Length);
// Draw a Virtical line
void LineV(uint8 X0, uint8 Y0, uint8 Height);
// Draw a table with specific rows and cols
void Table(uint8 Rows, Cols, uint8 width, height);
// Scan Vertical line
void ScanV(uint8 Tscan);
// Scan Horizontal line
void ScanH(uint8 Tscan);
// Draw a Rectangle
void Rectangle(struct RectInfo Points);
// Show x frames on the screen
void frameShow(uint8 xframes);
// Draw a fullscreen rectangle
void RectFullscreen(void);
// -----------------------------------------------------------------------------

#include "graphics.c"
#endif

⌨️ 快捷键说明

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